Changeset 61ae52c for protocols/msn
- Timestamp:
- 2007-04-20T05:19:06Z (18 years ago)
- Branches:
- master
- Children:
- b0eaa5b
- Parents:
- d323394c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/msn/sb.c
rd323394c r61ae52c 184 184 /* Create the groupchat structure. */ 185 185 g_snprintf( buf, sizeof( buf ), "MSN groupchat session %d", sb->session ); 186 sb->chat = serv_got_joined_chat( ic, buf );186 sb->chat = imcb_chat_new( ic, buf ); 187 187 188 188 /* Populate the channel. */ 189 if( sb->who ) add_chat_buddy( sb->chat, sb->who );190 add_chat_buddy( sb->chat, ic->acc->user );189 if( sb->who ) imcb_chat_add_buddy( sb->chat, sb->who ); 190 imcb_chat_add_buddy( sb->chat, ic->acc->user ); 191 191 192 192 /* And make sure the switchboard doesn't look like a regular chat anymore. */ … … 232 232 if( sb->chat ) 233 233 { 234 serv_got_chat_left( sb->chat );234 imcb_chat_removed( sb->chat ); 235 235 } 236 236 … … 374 374 { 375 375 g_snprintf( buf, sizeof( buf ), "MSN groupchat session %d", sb->session ); 376 sb->chat = serv_got_joined_chat( ic, buf );376 sb->chat = imcb_chat_new( ic, buf ); 377 377 378 378 g_free( sb->who ); … … 380 380 } 381 381 382 add_chat_buddy( sb->chat, cmd[4] );382 imcb_chat_add_buddy( sb->chat, cmd[4] ); 383 383 384 384 if( num == tot ) 385 385 { 386 add_chat_buddy( sb->chat, ic->acc->user );386 imcb_chat_add_buddy( sb->chat, ic->acc->user ); 387 387 } 388 388 } … … 462 462 msn_sb_to_chat( sb ); 463 463 464 add_chat_buddy( sb->chat, cmd[1] );464 imcb_chat_add_buddy( sb->chat, cmd[1] ); 465 465 } 466 466 else if( sb->chat ) 467 467 { 468 add_chat_buddy( sb->chat, cmd[1] );468 imcb_chat_add_buddy( sb->chat, cmd[1] ); 469 469 sb->ready = 1; 470 470 } … … 516 516 else if( sb->chat ) 517 517 { 518 remove_chat_buddy( sb->chat, cmd[1], "" );518 imcb_chat_remove_buddy( sb->chat, cmd[1], "" ); 519 519 } 520 520 else … … 611 611 else if( sb->chat ) 612 612 { 613 serv_got_chat_in( sb->chat, cmd[1], 0, body, 0 );613 imcb_chat_msg( sb->chat, cmd[1], body, 0, 0 ); 614 614 } 615 615 else … … 670 670 else if( sb->chat ) 671 671 { 672 serv_got_chat_in( sb->chat, cmd[1], 0, buf, 0 );672 imcb_chat_msg( sb->chat, cmd[1], buf, 0, 0 ); 673 673 } 674 674 else
Note: See TracChangeset
for help on using the changeset viewer.