Changeset c2fb3809 for protocols/yahoo
- Timestamp:
- 2007-04-15T22:39:35Z (18 years ago)
- Branches:
- master
- Children:
- 84b045d
- Parents:
- cd4723c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/yahoo/yahoo.c
rcd4723c rc2fb3809 361 361 YList *members; 362 362 363 roomname = g_new0( char, strlen( ic->username ) + 16 ); 364 g_snprintf( roomname, strlen( ic->username ) + 16, "%s-Bee-%d", ic->username, byahoo_chat_id ); 363 roomname = g_strdup_printf( "%s-Bee-%d", ic->acc->user, byahoo_chat_id ); 365 364 366 365 c = serv_got_joined_chat( ic, roomname ); 367 add_chat_buddy( c, ic-> username);366 add_chat_buddy( c, ic->acc->user ); 368 367 369 368 /* FIXME: Free this thing when the chat's destroyed. We can't *always* … … 518 517 { 519 518 char *errstr; 519 int allow_reconnect = TRUE; 520 520 521 521 yd->logged_in = FALSE; … … 530 530 { 531 531 errstr = "Logged in on a different machine or device"; 532 ic->wants_to_die = TRUE;532 allow_reconnect = FALSE; 533 533 } 534 534 else if( succ == YAHOO_LOGIN_SOCK ) … … 542 542 imc_error( ic, "Error %d (%s)", succ, errstr ); 543 543 544 imc_logout( ic );544 imc_logout( ic, allow_reconnect ); 545 545 } 546 546 } … … 642 642 643 643 if( fatal ) 644 imc_logout( ic );644 imc_logout( ic, TRUE ); 645 645 } 646 646 … … 768 768 { 769 769 yahoo_conference_logon( inv->yid, NULL, inv->members, inv->name ); 770 add_chat_buddy( inv->c, inv->ic-> username);770 add_chat_buddy( inv->c, inv->ic->acc->user ); 771 771 g_free( inv->name ); 772 772 g_free( inv ); … … 798 798 799 799 for( m = members; m; m = m->next ) 800 if( g_strcasecmp( m->data, ic-> username) != 0 )800 if( g_strcasecmp( m->data, ic->acc->user ) != 0 ) 801 801 add_chat_buddy( inv->c, m->data ); 802 802
Note: See TracChangeset
for help on using the changeset viewer.