Changeset 16592d8


Ignore:
Timestamp:
2010-04-09T01:11:10Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
4fca1db
Parents:
cca0692
Message:

If the user leaves the Twitter channel, allow that. Recreate it when new
tweets come in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/twitter/twitter.c

    rcca0692 r16592d8  
    156156static void twitter_chat_leave( struct groupchat *c )
    157157{
     158        struct twitter_data *td = c->ic->proto_data;
     159       
     160        if( c != td->home_timeline_gc )
     161                return; /* WTF? */
     162       
     163        /* If the user leaves the channel: Fine. Rejoin him/her once new
     164           tweets come in. */
     165        imcb_chat_free(td->home_timeline_gc);
     166        td->home_timeline_gc = NULL;
    158167}
    159168
Note: See TracChangeset for help on using the changeset viewer.