Changeset fe6f1d3


Ignore:
Timestamp:
Oct 10, 2003, 5:29:00 PM (17 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
8a54409
Parents:
e374dee
Message:
On an offgoing message, don't create an AIM logout
  message unless the buddy was already logged in.
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    rf4d0975 rfe6f1d3  
    11$Id$
    22
     32.0.8-pre-6
     4        On an offgoing message, don't create an AIM logout
     5          message unless the buddy was already logged in.
     6       
    372.0.8-pre-5     
    48        Fixed bug with idle times causing broken pipes.
  • buddylist.c

    rf4d0975 rfe6f1d3  
    7373
    7474  owl_buddylist_remove_aim_buddy(bl, screenname);
    75  
    76   m=owl_malloc(sizeof(owl_message));
    77   owl_message_create_aim(m,
    78                          screenname,
    79                          owl_global_get_aim_screenname(&g),
    80                          "",
    81                          OWL_MESSAGE_DIRECTION_IN,
    82                          -1);
    83   owl_global_messagequeue_addmsg(&g, m);
     75
     76  if (owl_buddylist_is_aim_buddy_loggedin(bl, screenname)) {
     77    m=owl_malloc(sizeof(owl_message));
     78    owl_message_create_aim(m,
     79                           screenname,
     80                           owl_global_get_aim_screenname(&g),
     81                           "",
     82                           OWL_MESSAGE_DIRECTION_IN,
     83                           -1);
     84    owl_global_messagequeue_addmsg(&g, m);
     85  }
    8486}
    8587
  • owl.h

    rf4d0975 rfe6f1d3  
    2121static const char owl_h_fileIdent[] = "$Id$";
    2222
    23 #define OWL_VERSION         2.0.8-pre-5
    24 #define OWL_VERSION_STRING "2.0.8-pre-5"
     23#define OWL_VERSION         2.0.8-pre-6
     24#define OWL_VERSION_STRING "2.0.8-pre-6"
    2525
    2626#define OWL_DEBUG 0
Note: See TracChangeset for help on using the changeset viewer.