Ignore:
Timestamp:
2007-06-13T23:31:39Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
bdda9e9
Parents:
43d8cc5
Message:

Added imcb_remove_buddy() so deletions in Jabber roster pushes actually
work. This also solves the issue of underscores appearing and disappearing
in their nicknames when people leave/join a chat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    r43d8cc5 r998b103  
    167167                if( s ) *s = '/';
    168168        }
    169         else if( type ) /* This only gets called if type is NULL or "unavailable" */
     169        else if( type ) /* type can only be NULL or "unavailable" in this function */
    170170        {
    171171                s = strchr( bud->ext_jid, '/' );
    172172                if( s ) *s = 0;
    173173                imcb_chat_remove_buddy( chat, bud->ext_jid, NULL );
     174                if( bud != jc->me && bud->flags & JBFLAG_IS_ANONYMOUS )
     175                        imcb_remove_buddy( ic, bud->ext_jid, NULL );
    174176                if( s ) *s = '/';
    175177               
Note: See TracChangeset for help on using the changeset viewer.