Changeset 3e69802 for protocols/twitter
- Timestamp:
- 2010-04-13T12:51:05Z (15 years ago)
- Branches:
- master
- Children:
- 3bd4a93
- Parents:
- ec2ebcc
- Location:
- protocols/twitter
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/twitter/twitter.c
rec2ebcc r3e69802 34 34 { 35 35 struct im_connection *ic = data; 36 36 37 // Check if we are still logged in... 37 38 // We are logged in if the flag says so and the connection is still in the connections list. -
protocols/twitter/twitter_lib.c
rec2ebcc r3e69802 98 98 * Add a buddy if it is not allready added, set the status to logged in. 99 99 */ 100 static void twitter_add_buddy(struct im_connection *ic, char *name )100 static void twitter_add_buddy(struct im_connection *ic, char *name, const char *fullname) 101 101 { 102 102 struct twitter_data *td = ic->proto_data; … … 107 107 // The buddy is not in the list, add the buddy and set the status to logged in. 108 108 imcb_add_buddy( ic, name, NULL ); 109 imcb_rename_buddy( ic, name, fullname ); 109 110 if (set_getbool( &ic->acc->set, "use_groupchat" )) 110 111 imcb_chat_add_buddy( td->home_timeline_gc, name ); … … 422 423 { 423 424 status = l->data; 424 twitter_add_buddy(ic, status->user->screen_name );425 twitter_add_buddy(ic, status->user->screen_name, status->user->name); 425 426 426 427 // Say it! … … 537 538 { 538 539 user = l->data; 539 twitter_add_buddy(ic, user->screen_name );540 twitter_add_buddy(ic, user->screen_name, user->name); 540 541 } 541 542
Note: See TracChangeset
for help on using the changeset viewer.