pidgin.next.minor: b5b9f789: Declare XMPP got media caps in the corre...

maiku at pidgin.im maiku at pidgin.im
Tue Oct 20 17:46:53 EDT 2009


-----------------------------------------------------------------
Revision: b5b9f7898db2efebf9a130b493f8448adab61d20
Ancestor: 7fae858e9f8a91a875299963e391ec2d87c4cfcf
Author: maiku at pidgin.im
Date: 2009-10-20T21:39:16
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/b5b9f7898db2efebf9a130b493f8448adab61d20

Modified files:
        libpurple/protocols/jabber/presence.c

ChangeLog: 

Declare XMPP got media caps in the correct place.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c	f9224fd1010871e064ba53cd88160e7c3d62aa22
+++ libpurple/protocols/jabber/presence.c	9816c058cea7956bffdb58629cdbbb17ad92dc60
@@ -458,6 +458,10 @@ jabber_presence_set_capabilities(JabberC
 	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 @@ jabber_presence_set_capabilities(JabberC
 		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


More information about the Commits mailing list