Changeset 61ae52c for protocols/yahoo
- Timestamp:
- 2007-04-20T05:19:06Z (18 years ago)
- Branches:
- master
- Children:
- b0eaa5b
- Parents:
- d323394c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
rd323394c r61ae52c 146 146 147 147 while( ic->conversations ) 148 serv_got_chat_left( ic->conversations );148 imcb_chat_removed( ic->conversations ); 149 149 150 150 for( l = yd->buddygroups; l; l = l->next ) … … 318 318 319 319 yahoo_conference_logoff( yd->y2_id, NULL, c->data, c->title ); 320 serv_got_chat_left( c );320 imcb_chat_removed( c ); 321 321 } 322 322 … … 330 330 roomname = g_strdup_printf( "%s-Bee-%d", ic->acc->user, byahoo_chat_id ); 331 331 332 c = serv_got_joined_chat( ic, roomname );333 add_chat_buddy( c, ic->acc->user );332 c = imcb_chat_new( ic, roomname ); 333 imcb_chat_add_buddy( c, ic->acc->user ); 334 334 335 335 /* FIXME: Free this thing when the chat's destroyed. We can't *always* … … 790 790 { 791 791 yahoo_conference_logon( inv->yid, NULL, inv->members, inv->name ); 792 add_chat_buddy( inv->c, inv->ic->acc->user );792 imcb_chat_add_buddy( inv->c, inv->ic->acc->user ); 793 793 g_free( inv->name ); 794 794 g_free( inv ); … … 798 798 { 799 799 yahoo_conference_decline( inv->yid, NULL, inv->members, inv->name, "User rejected groupchat" ); 800 serv_got_chat_left( inv->c );800 imcb_chat_removed( inv->c ); 801 801 g_free( inv->name ); 802 802 g_free( inv ); … … 814 814 memset( inv, 0, sizeof( struct byahoo_conf_invitation ) ); 815 815 inv->name = g_strdup( room ); 816 inv->c = serv_got_joined_chat( ic, (char*) room );816 inv->c = imcb_chat_new( ic, (char*) room ); 817 817 inv->c->data = members; 818 818 inv->yid = id; … … 822 822 for( m = members; m; m = m->next ) 823 823 if( g_strcasecmp( m->data, ic->acc->user ) != 0 ) 824 add_chat_buddy( inv->c, m->data );824 imcb_chat_add_buddy( inv->c, m->data ); 825 825 826 826 g_snprintf( txt, 1024, "Got an invitation to chatroom %s from %s: %s", room, who, msg ); … … 844 844 845 845 if( c ) 846 add_chat_buddy( c, (char*) who );846 imcb_chat_add_buddy( c, (char*) who ); 847 847 } 848 848 … … 856 856 857 857 if( c ) 858 remove_chat_buddy( c, (char*) who, "" );858 imcb_chat_remove_buddy( c, (char*) who, "" ); 859 859 } 860 860 … … 868 868 869 869 if( c ) 870 serv_got_chat_in( c, (char*) who, 0, (char*) m, 0 );870 imcb_chat_msg( c, (char*) who, (char*) m, 0, 0 ); 871 871 g_free( m ); 872 872 }
Note: See TracChangeset
for help on using the changeset viewer.