Changeset c570c86 for protocols/jabber


Ignore:
Timestamp:
2007-06-04T15:56:09Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7e9dc74
Parents:
e0e2a71
Message:

Calling imcb_add_buddy() before setting the nickname. This is the only
way to set the nickname in time before BitlBee sends the JOIN.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    re0e2a71 rc570c86  
    156156                }
    157157               
     158                if( bud != jc->me )
     159                {
     160                        imcb_add_buddy( ic, bud->ext_jid, NULL );
     161                        imcb_buddy_nick_hint( ic, bud->ext_jid, bud->resource );
     162                }
     163               
    158164                s = strchr( bud->ext_jid, '/' );
    159165                if( s ) *s = 0; /* Should NEVER be NULL, but who knows... */
    160166                imcb_chat_add_buddy( chat, bud->ext_jid );
    161167                if( s ) *s = '/';
    162                
    163                 if( bud != jc->me )
    164                         imcb_buddy_nick_hint( ic, bud->ext_jid, bud->resource );
    165168        }
    166169        else if( type ) /* This only gets called if type is NULL or "unavailable" */
Note: See TracChangeset for help on using the changeset viewer.