changeset 27586:f1cd0395afef

Fix reversed logic in c22acf5c042ad7876f4d5d5a039323a6bfb68807.
author Paul Aurich <paul@darkrain42.org>
date Sun, 12 Jul 2009 05:07:09 +0000
parents ebd9630ffc77
children 5d82a9298ed5
files libpurple/protocols/jabber/message.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/message.c	Sun Jul 12 04:41:56 2009 +0000
+++ b/libpurple/protocols/jabber/message.c	Sun Jul 12 05:07:09 2009 +0000
@@ -1243,7 +1243,7 @@
 
 	g_free(resource);
 
-	if (!jbr || (jbr->chat_states != JABBER_CHAT_STATES_UNSUPPORTED))
+	if (!jbr || (jbr->chat_states == JABBER_CHAT_STATES_UNSUPPORTED))
 		return 0;
 
 	/* TODO: figure out threading */