pidgin.next.minor: a198f6b2: Use purple_prpl_got_media_caps in XMPP t...

maiku at pidgin.im maiku at pidgin.im
Tue Oct 20 17:06:18 EDT 2009


-----------------------------------------------------------------
Revision: a198f6b293c17b1f66b92d8962c7dbd22afa21f5
Ancestor: 6f79209fb9144a3aded6396c5ee88b2509c699af
Author: maiku at pidgin.im
Date: 2009-10-20T20:42:58
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/a198f6b293c17b1f66b92d8962c7dbd22afa21f5

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

ChangeLog: 

Use purple_prpl_got_media_caps in XMPP to update the caps when they change.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/presence.c	8401c059941dc59d749e409f7f79d57dd42b12ab
+++ libpurple/protocols/jabber/presence.c	f9224fd1010871e064ba53cd88160e7c3d62aa22
@@ -472,6 +472,10 @@ 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