comparison libpurple/protocols/yahoo/yahoochat.c @ 32827:4a34689eeb33 default tip

merged from im.pidgin.pidgin
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Sat, 19 Nov 2011 14:42:54 +0900
parents 0f94ec89f0bc 1f68af4afe67
children
comparison
equal deleted inserted replaced
32692:0f94ec89f0bc 32827:4a34689eeb33
1164 void yahoo_c_invite(PurpleConnection *gc, int id, const char *msg, const char *name) 1164 void yahoo_c_invite(PurpleConnection *gc, int id, const char *msg, const char *name)
1165 { 1165 {
1166 PurpleConversation *c; 1166 PurpleConversation *c;
1167 1167
1168 c = purple_find_chat(gc, id); 1168 c = purple_find_chat(gc, id);
1169 if (!c || !c->name) 1169 if (!c || !purple_conversation_get_name(c))
1170 return; 1170 return;
1171 1171
1172 if (id != YAHOO_CHAT_ID) { 1172 if (id != YAHOO_CHAT_ID) {
1173 yahoo_conf_invite(gc, c, purple_connection_get_display_name(gc), name, 1173 yahoo_conf_invite(gc, c, purple_connection_get_display_name(gc), name,
1174 purple_conversation_get_name(c), msg); 1174 purple_conversation_get_name(c), msg);