Changes in protocols/yahoo/yahoo.c [eaaa986:aa7ce1b]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
reaaa986 raa7ce1b 153 153 154 154 while( ic->groupchats ) 155 imcb_chat_free( ic->groupchats ->data);155 imcb_chat_free( ic->groupchats ); 156 156 157 157 for( l = yd->buddygroups; l; l = l->next ) … … 791 791 struct byahoo_conf_invitation *inv = data; 792 792 struct groupchat *b; 793 GSList *l; 794 795 for( l = inv->ic->groupchats; l; l = l->next ) 796 { 797 b = l->data; 793 794 for( b = inv->ic->groupchats; b; b = b->next ) 798 795 if( b == inv->c ) 799 796 break; 800 }801 797 802 798 if( b != NULL ) … … 831 827 char txt[1024]; 832 828 YList *m; 829 830 if( g_strcasecmp( who, ic->acc->user ) == 0 ) 831 /* WTF, Yahoo! seems to echo these now? */ 832 return; 833 833 834 834 inv = g_malloc( sizeof( struct byahoo_conf_invitation ) ); … … 860 860 { 861 861 struct im_connection *ic = byahoo_get_ic_by_id( id ); 862 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 862 struct groupchat *c; 863 864 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 863 865 864 866 if( c ) … … 870 872 { 871 873 struct im_connection *ic = byahoo_get_ic_by_id( id ); 872 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 874 struct groupchat *c; 875 876 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 873 877 874 878 if( c ) … … 880 884 struct im_connection *ic = byahoo_get_ic_by_id( id ); 881 885 char *m = byahoo_strip( msg ); 882 struct groupchat *c = bee_chat_by_title( ic->bee, ic, room ); 886 struct groupchat *c; 887 888 for( c = ic->groupchats; c && strcmp( c->title, room ) != 0; c = c->next ); 883 889 884 890 if( c )
Note: See TracChangeset
for help on using the changeset viewer.