pidgin.next.minor: a35c198b: Rebroadcast XMPP caps whenever the UI ca...

maiku at pidgin.im maiku at pidgin.im
Mon Oct 19 20:21:59 EDT 2009


-----------------------------------------------------------------
Revision: a35c198b0181ca88c066a25184c6ef43df259eae
Ancestor: 1ea56c28d0b05573e07d9803f36c4f7f1cfa3299
Author: maiku at pidgin.im
Date: 2009-10-20T00:12:33
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/a35c198b0181ca88c066a25184c6ef43df259eae

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

ChangeLog: 

Rebroadcast XMPP caps whenever the UI caps change.

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/jabber.c	58903e8327dcfcc0cba899eea5097f3b3da68e8a
+++ libpurple/protocols/jabber/jabber.c	f0342abeae528055a3b415ae73e01a9bf9c4f04c
@@ -3453,6 +3453,9 @@ jabber_init_plugin(PurplePlugin *plugin)
 	jabber_add_feature(JINGLE_APP_RTP_SUPPORT_VIDEO, jabber_video_enabled);
 	jabber_add_feature(JINGLE_TRANSPORT_RAWUDP, 0);
 	jabber_add_feature(JINGLE_TRANSPORT_ICEUDP, 0);
+
+	g_signal_connect(G_OBJECT(purple_media_manager_get()), "ui-caps-changed",
+			G_CALLBACK(jabber_caps_broadcast_change), NULL);
 #endif
 
 	/* IPC functions */


More information about the Commits mailing list