comparison libpurple/protocols/msn/notification.c @ 32767:2ec94166be43

On the way to hiding the PurpleConnection struct. * Added purple_connection_get_flags() and purple_connection_set_flags() * Use purple_connection_ accessor functions.
author andrew.victor@mxit.com
date Tue, 18 Oct 2011 18:47:48 +0000
parents 10e5000326a5
children
comparison
equal deleted inserted replaced
32766:ea2b621fd3ba 32767:2ec94166be43
1191 id = xmlnode_get_attrib(msg, "id"); 1191 id = xmlnode_get_attrib(msg, "id");
1192 1192
1193 if (id && strcmp(id, "1")) { 1193 if (id && strcmp(id, "1")) {
1194 PurpleConversation *conv 1194 PurpleConversation *conv
1195 = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY, 1195 = purple_find_conversation_with_account(PURPLE_CONV_TYPE_ANY,
1196 who, gc->account); 1196 who, purple_connection_get_account(gc));
1197 if (conv != NULL) { 1197 if (conv != NULL) {
1198 const char *error; 1198 const char *error;
1199 if (!strcmp(id, "407")) 1199 if (!strcmp(id, "407"))
1200 error = _("Mobile message was not sent because it was too long."); 1200 error = _("Mobile message was not sent because it was too long.");
1201 else 1201 else