Ignore:
Timestamp:
2007-04-19T06:03:43Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d323394c
Parents:
33dc261
Message:

More API changes: buddy list management. imcb_add_buddy() is now a *real*
callback, it's only called from inside IM-modules. This makes sure a buddy
only gets added to the BitlBee structures if the add was successful. This
gets rid of the weirdness described in #55. Unfortunately for now this
change breaks A) automatic renaming of ICQ contacts (if there are names
stored in the contact list) B) add -tmp.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/msn/msn_util.c

    r33dc261 rf0cb961  
    9494        msn_buddy_list_add( bla->ic, "AL", bla->handle, bla->realname );
    9595       
    96         if( find_buddy( bla->ic, bla->handle ) == NULL )
     96        if( imcb_find_buddy( bla->ic, bla->handle ) == NULL )
    9797                imcb_ask_add( bla->ic, bla->handle, NULL );
    9898       
Note: See TracChangeset for help on using the changeset viewer.