diff -urp privatemsg/privatemsg.module privatemsg_no_sent/privatemsg.module
--- privatemsg/privatemsg.module	2008-08-26 17:09:16.000000000 +0100
+++ privatemsg_no_sent/privatemsg.module	2008-09-02 17:46:36.068800000 +0100
@@ -46,14 +46,6 @@ function privatemsg_menu() {
     'type' => MENU_NORMAL_ITEM,
     'weight' => -9,
   );
-  //list messages that this user is an author of
-  $items['messages/sent'] = array(
-    'title' => t('Sent messages'),
-    'page callback' => 'privatemsg_list',
-    'access arguments' => array('read privatemsg'),
-    'type' => MENU_LOCAL_TASK,
-    'weight'  => -5,
-  );
   //view a single message
   $items['messages/view/%'] = array(
     'title' => t('Read private message'),
@@ -236,9 +228,6 @@ function privatemsg_list($uid = NULL) {
   
 //  drupal_set_message('<pre>'. print_r($uid, 1) .'</pre>');
   switch (arg(1)) {
-   case 'sent':
-     $query = _privatemsg_assemble_query('privatemsg_list_sent', $account);
-     break;
    case 'inbox':
    default:
      $query = _privatemsg_assemble_query('privatemsg_list', $account);
@@ -622,19 +611,6 @@ function pm_preview($form, &$form_state)
   }
   $form_state['rebuild'] = true;      //this forces our form to be rebuild instead of being submitted
 }
-function privatemsg_privatemsg_list_sent_alter(&$fragments, $account) {
-  $fragments['primary_table'] = '{pm_message} pm';
-  
-  $fragments['select'][] = 'pm.mid as id';
-  $fragments['select'][] = 'pm.subject';
-  $fragments['select'][] = 'pmi.author';
-  
-  $fragments['inner_join'][] = 'INNER JOIN {pm_index} pmi ON pm.mid = pmi.mid';
-  $fragments['where'][] = 'pmi.author = %d';
-  $fragments['query_args'][] = $account->uid;
-//  $fragments['group_by'][] = 'pmi.mid';
-}
-
 
 function privatemsg_privatemsg_list_alter(&$fragments, $account) {
   
@@ -645,36 +621,10 @@ function privatemsg_privatemsg_list_alte
   $fragments['select'][] = 'pmi.author';
   $fragments['select'][] = 'pmi.*';
   $fragments['inner_join'][] = 'INNER JOIN {pm_index} pmi ON pm.mid = pmi.mid';
-  $fragments['where'][]  = 'pmi.recipient = %d';
+  $fragments['where'][]  = 'pmi.author = %d OR pmi.recipient = %d';
   $fragments['query_args'][] = $account->uid;
-
-  /*
-  if(THREADED) {
-    //when dealing with a thread. message that has the lowest ID within a thread
-    //is always the parent message of the whole thread
-    $fragments['select'][] = 'min(pm.id) as id'; 
-    //we must group our results by gid, because it is our thread ID in this case
-    //this is a MySQL requirement if we use min() function
-    $fragments['group_by'][] = 'pg.gid'; 
-  }
-  else {
-    $fragments['select'][]     = 'pm.id';
-    $fragments['where'][]      = 'pm.author != %d';
-    $fragments['query_args'][] = $account->uid;  
-  }
-  
-  $fragments['select'][] = 'pm.*';
-  $fragments['select'][] = 'pg.*';
-  $fragments['select'][] = 'pu.*';  
-  //this implements a check of whether we are allowed to view this message
-  $fragments['inner_join'][] = 'INNER JOIN {privatemsg_group} pg ON pm.id = pg.pmid';
-  $fragments['inner_join'][] = 'INNER JOIN {privatemsg_group_user} pu ON pu.gid = pg.gid';
-  
-  //this means only show me queries where i am the recipient
-  //this is a measure of security so people who did not receive this message cannot read it
-  $fragments['where'][]      = 'pu.uid =  %d';
   $fragments['query_args'][] = $account->uid;
-  */
+
 }
 
 function privatemsg_privatemsg_load_alter(&$fragments, $pmid, $uid) {
