diff libpurple/protocols/jabber/presence.c @ 17004:d5293baaed11

chat error fix from sadrul
author Nathan Walp <nwalp@pidgin.im>
date Thu, 10 May 2007 23:35:22 +0000
parents 5e47b3427b28
children 3919c68eb5b7
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Thu May 10 02:55:42 2007 +0000
+++ b/libpurple/protocols/jabber/presence.c	Thu May 10 23:35:22 2007 +0000
@@ -391,7 +391,7 @@
 		static int i = 1;
 		char *room_jid = g_strdup_printf("%s@%s", jid->node, jid->domain);
 
-		if(state == JABBER_BUDDY_STATE_ERROR && jid->resource == NULL) {
+		if(state == JABBER_BUDDY_STATE_ERROR) {
 			char *title, *msg = jabber_parse_error(js, packet);
 
 			if(chat->conv) {