Changeset 257a22f


Ignore:
Timestamp:
Oct 13, 2003, 11:59:18 AM (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:
2ecac24
Parents:
8a54409
Message:
Formatting changes in aim code
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aim.c

    rf4d0975 r257a22f  
    248248}
    249249
    250 void owl_aim_addbuddy(char *screenname)
    251 {
    252   aim_ssi_addbuddy(owl_global_get_aimsess(&g), screenname, "Buddies", NULL, NULL, NULL, 0);
    253 }
    254 
    255 void owl_aim_delbuddy(char *screenname)
    256 {
    257   aim_ssi_delbuddy(owl_global_get_aimsess(&g), screenname, "Buddies");
    258   owl_buddylist_offgoing(owl_global_get_buddylist(&g), screenname);
     250void owl_aim_addbuddy(char *name)
     251{
     252  aim_ssi_addbuddy(owl_global_get_aimsess(&g), name, "Buddies", NULL, NULL, NULL, 0);
     253}
     254
     255void owl_aim_delbuddy(char *name)
     256{
     257  aim_ssi_delbuddy(owl_global_get_aimsess(&g), name, "Buddies");
     258  owl_buddylist_offgoing(owl_global_get_buddylist(&g), name);
    259259}
    260260
     
    270270}
    271271#endif
    272 
    273272
    274273void owl_aim_chat_join(char *chatroom)
  • buddylist.c

    rfe6f1d3 r257a22f  
    7272  owl_message *m;
    7373
    74   owl_buddylist_remove_aim_buddy(bl, screenname);
    75 
    7674  if (owl_buddylist_is_aim_buddy_loggedin(bl, screenname)) {
    7775    m=owl_malloc(sizeof(owl_message));
     
    8482    owl_global_messagequeue_addmsg(&g, m);
    8583  }
     84
     85  owl_buddylist_remove_aim_buddy(bl, screenname);
    8686}
    8787
Note: See TracChangeset for help on using the changeset viewer.