Changeset 5c18a76


Ignore:
Timestamp:
2010-07-17T15:51:01Z (9 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
fe4f28f
Parents:
ffcdf13
Message:

Store exact Twitter usernames for all Twitter contacts when using mode=chat,
so that xxx:->@xxx translation always works properly (even when the nick was
stripped/etc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter_lib.c

    rffcdf13 r5c18a76  
    125125                imcb_rename_buddy( ic, name, fullname );
    126126                if (g_strcasecmp(mode, "chat") == 0)
     127                {
     128                        /* Necessary so that nicks always get translated to the
     129                           exact Twitter username. */
     130                        imcb_buddy_nick_hint( ic, name, name );
    127131                        imcb_chat_add_buddy( td->home_timeline_gc, name );
     132                }
    128133                else if (g_strcasecmp(mode, "many") == 0)
    129134                        imcb_buddy_status( ic, name, OPT_LOGGED_IN, NULL, NULL );
Note: See TracChangeset for help on using the changeset viewer.