libpurple/protocols/jabber/presence.c

changeset 17049
fe85f1b2d70b
parent 16545
5188ffbaeb6e
child 17422
1c47da5c1589
child 18068
b6554e3c8224
equal deleted inserted replaced
17048:5a96615f089e 17049:fe85f1b2d70b
389 389
390 if(jid->node && (chat = jabber_chat_find(js, jid->node, jid->domain))) { 390 if(jid->node && (chat = jabber_chat_find(js, jid->node, jid->domain))) {
391 static int i = 1; 391 static int i = 1;
392 char *room_jid = g_strdup_printf("%s@%s", jid->node, jid->domain); 392 char *room_jid = g_strdup_printf("%s@%s", jid->node, jid->domain);
393 393
394 if(state == JABBER_BUDDY_STATE_ERROR && jid->resource == NULL) { 394 if(state == JABBER_BUDDY_STATE_ERROR) {
395 char *title, *msg = jabber_parse_error(js, packet); 395 char *title, *msg = jabber_parse_error(js, packet);
396 396
397 if(chat->conv) { 397 if(chat->conv) {
398 title = g_strdup_printf(_("Error in chat %s"), from); 398 title = g_strdup_printf(_("Error in chat %s"), from);
399 serv_got_chat_left(js->gc, chat->id); 399 serv_got_chat_left(js->gc, chat->id);

mercurial