Mercurial > pidgin.yaz
comparison libpurple/protocols/yahoo/yahoochat.c @ 32700:1f68af4afe67
Use purple_conversation accessor methods.
author | andrew.victor@mxit.com |
---|---|
date | Sat, 01 Oct 2011 15:03:57 +0000 |
parents | fcf841ffd620 |
children | 4a34689eeb33 |
comparison
equal
deleted
inserted
replaced
32699:3e2191125ad7 | 32700:1f68af4afe67 |
---|---|
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); |