comparison src/protocols/yahoo/ycht.c @ 11644:f4e58e94ced3

[gaim-migrate @ 13922] Yahoo! whitespace cleanup from Peter Lawler Gracias! committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 12 Oct 2005 04:02:46 +0000
parents 519dc2186438
children 33bef17125c2
comparison
equal deleted inserted replaced
11643:eb14bbcf7249 11644:f4e58e94ced3
97 char *tmp = strchr(members[i], '\002'); 97 char *tmp = strchr(members[i], '\002');
98 if (tmp) 98 if (tmp)
99 *tmp = '\0'; 99 *tmp = '\0';
100 } 100 }
101 101
102
103 if (g_list_length(pkt->data) > 5) 102 if (g_list_length(pkt->data) > 5)
104 new_room = TRUE; 103 new_room = TRUE;
105 104
106 if (new_room && ycht->changing_rooms) { 105 if (new_room && ycht->changing_rooms) {
107 serv_got_chat_left(gc, YAHOO_CHAT_ID); 106 serv_got_chat_left(gc, YAHOO_CHAT_ID);
108 ycht->changing_rooms = FALSE; 107 ycht->changing_rooms = FALSE;
109 c = serv_got_joined_chat(gc, YAHOO_CHAT_ID, room); 108 c = serv_got_joined_chat(gc, YAHOO_CHAT_ID, room);
110 } else { 109 } else {
111 c = gaim_find_chat(gc, YAHOO_CHAT_ID); 110 c = gaim_find_chat(gc, YAHOO_CHAT_ID);
112 } 111 }
113
114 112
115 if (topic) 113 if (topic)
116 gaim_conv_chat_set_topic(GAIM_CONV_CHAT(c), NULL, topic); 114 gaim_conv_chat_set_topic(GAIM_CONV_CHAT(c), NULL, topic);
117 115
118 for (i = 0; members[i]; i++) { 116 for (i = 0; members[i]; i++) {