changeset 29139:8a50c08c289d

Declare XMPP got media caps in the correct place.
author maiku@pidgin.im
date Tue, 20 Oct 2009 21:39:16 +0000
parents c5712737e59a
children fb2c0674e828 7819d3819f4c
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Tue Oct 20 21:38:57 2009 +0000
+++ b/libpurple/protocols/jabber/presence.c	Tue Oct 20 21:39:16 2009 +0000
@@ -458,6 +458,10 @@
 	jbr->caps.info = info;
 	jbr->caps.exts = exts;
 
+	purple_prpl_got_media_caps(
+			purple_connection_get_account(userdata->js->gc),
+			userdata->from);
+
 	if (info == NULL)
 		goto out;
 
@@ -472,10 +476,6 @@
 		jbr->commands_fetched = TRUE;
 	}
 
-	purple_prpl_got_media_caps(
-			purple_connection_get_account(userdata->js->gc),
-			userdata->from);
-
 #if 0
 	/*
 	 * Versions of libpurple before 2.6.0 didn't advertise this capability, so