changeset 28902:d9c97c2b29fd

jabber: Don't fetch Adhoc Commands for MUC chat members.
author Paul Aurich <paul@darkrain42.org>
date Fri, 22 Jan 2010 17:36:42 +0000
parents 4189f9e1627b
children 03705a4f3dc0
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Thu Jan 21 20:28:41 2010 +0000
+++ b/libpurple/protocols/jabber/presence.c	Fri Jan 22 17:36:42 2010 +0000
@@ -790,8 +790,9 @@
 				g_free(room_jid);
 			}
 
-			jabber_buddy_track_resource(jb, jid->resource, priority, state,
+			jbr = jabber_buddy_track_resource(jb, jid->resource, priority, state,
 					status);
+			jbr->commands_fetched = TRUE;
 
 			jabber_chat_track_handle(chat, jid->resource, real_jid, affiliation, role);