Changeset d06eabf for protocols/jabber


Ignore:
Timestamp:
2007-06-04T13:22:05Z (17 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
e0e2a71
Parents:
54f2f55
Message:

Added imcb_buddy_nick_hint so the Jabber conference module can suggest sane
nicknames for chatroom participants. There'll probably be a lot of
underscores now, but this is by far the cleanest way to implement this, I
think. At least now whispers will work properly. Also using this function
call to set names for ICQ contacts in a slightly saner way.

Location:
protocols/jabber
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/jabber/conference.c

    r54f2f55 rd06eabf  
    160160                imcb_chat_add_buddy( chat, bud->ext_jid );
    161161                if( s ) *s = '/';
     162               
     163                if( bud != jc->me )
     164                        imcb_buddy_nick_hint( ic, bud->ext_jid, bud->resource );
    162165        }
    163166        else if( type ) /* This only gets called if type is NULL or "unavailable" */
  • protocols/jabber/iq.c

    r54f2f55 rd06eabf  
    373373                                                                   group->text : NULL );
    374374                               
    375                                 imcb_rename_buddy( ic, jid, name );
     375                                if( name )
     376                                {
     377                                        imcb_rename_buddy( ic, jid, name );
     378                                        imcb_buddy_nick_hint( ic, jid, name );
     379                                }
    376380                        }
    377381                        else if( strcmp( sub, "remove" ) == 0 )
Note: See TracChangeset for help on using the changeset viewer.