changeset 15746:12a69097cb5a

don't treat presence errors from MUC members as if they were from the MUC itself
author Sean Egan <seanegan@gmail.com>
date Thu, 01 Mar 2007 20:13:45 +0000
parents d3d9f28fb6d0
children e3c216de22c5
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Thu Mar 01 08:33:21 2007 +0000
+++ b/libpurple/protocols/jabber/presence.c	Thu Mar 01 20:13:45 2007 +0000
@@ -392,7 +392,7 @@
 		static int i = 1;
 		char *room_jid = g_strdup_printf("%s@%s", jid->node, jid->domain);
 
-		if(state == JABBER_BUDDY_STATE_ERROR) {
+		if(state == JABBER_BUDDY_STATE_ERROR && jid->resource == NULL) {
 			char *title, *msg = jabber_parse_error(js, packet);
 
 			if(chat->conv) {