diff options
author | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-16 01:15:36 +0200 |
---|---|---|
committer | Wilmer van der Gaast <wilmer@gaast.net> | 2010-04-16 01:15:36 +0200 |
commit | 55b1e690c595ac6b027cf4bd1465c6676214bb50 (patch) | |
tree | 4f5061fe7f4387591da92c3b3ee227912cdb6c5f | |
parent | e88fbe272c097066e538d670fe8fa907e9847321 (diff) |
Since the home/timeline response can (and often does) come in before the
user list, call twitter_add_buddy() on all incoming tweets to avoid getting
tweets from people who aren't listed yet.
-rw-r--r-- | protocols/twitter/twitter_lib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/twitter/twitter_lib.c b/protocols/twitter/twitter_lib.c index 04e8ef95..d58afd73 100644 --- a/protocols/twitter/twitter_lib.c +++ b/protocols/twitter/twitter_lib.c @@ -473,6 +473,8 @@ static void twitter_private_message_chat(struct im_connection *ic, GSList *list) if( mode_one ) text = g_strdup_printf( "\002<\002%s\002>\002 %s", status->user->screen_name, status->text ); + else + twitter_add_buddy(ic, status->user->screen_name, status->user->name); imcb_buddy_msg( ic, mode_one ? from : status->user->screen_name, |