changeset 7187:0f16c37aa472

[gaim-migrate @ 7755] I can't wait till I get to implement JEP-0085 and get rid of this crap committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 07 Oct 2003 18:29:33 +0000
parents 0da869011d8a
children 2ff225547cf4
files src/protocols/jabber/message.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/message.c	Tue Oct 07 15:55:26 2003 +0000
+++ b/src/protocols/jabber/message.c	Tue Oct 07 18:29:33 2003 +0000
@@ -450,7 +450,7 @@
 	jb = jabber_buddy_find(gc->proto_data, who, TRUE);
 	jbr = jabber_buddy_find_resource(jb, jabber_get_resource(who));
 
-	if(jbr && !(jbr->capabilities & JABBER_CAP_COMPOSING))
+	if(!jbr || !(jbr->capabilities & JABBER_CAP_COMPOSING))
 		return 0;
 
 	jm = g_new0(JabberMessage, 1);