Changeset 7f557d5 for protocols/twitter


Ignore:
Timestamp:
2012-11-25T14:58:29Z (12 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
29f72b7
Parents:
631ec80
Message:

Fixing two oopses from my last commit.

Location:
protocols/twitter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    r631ec80 r7f557d5  
    116116        if (set_getbool(&ic->acc->set, "oauth") && !td->oauth_info)
    117117                twitter_oauth_start(ic);
    118         else if ((td->flags & TWITTER_MODE_ONE) &&
     118        else if (!(td->flags & TWITTER_MODE_ONE) &&
    119119                 !(td->flags & TWITTER_HAVE_FRIENDS)) {
    120120                imcb_log(ic, "Getting contact list");
  • protocols/twitter/twitter_lib.c

    r631ec80 r7f557d5  
    153153                           exact Twitter username. */
    154154                        imcb_buddy_nick_hint(ic, name, name);
    155                         imcb_chat_add_buddy(td->timeline_gc, name);
     155                        if (td->timeline_gc)
     156                                imcb_chat_add_buddy(td->timeline_gc, name);
    156157                } else if (td->flags & TWITTER_MODE_MANY)
    157158                        imcb_buddy_status(ic, name, OPT_LOGGED_IN, NULL, NULL);
Note: See TracChangeset for help on using the changeset viewer.