changeset 29132:44e949b676f0

Rebroadcast XMPP caps whenever the UI caps change.
author maiku@pidgin.im
date Tue, 20 Oct 2009 00:12:33 +0000
parents e144a461cf3c
children c855d321fc78
files libpurple/protocols/jabber/jabber.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c	Tue Oct 20 00:11:44 2009 +0000
+++ b/libpurple/protocols/jabber/jabber.c	Tue Oct 20 00:12:33 2009 +0000
@@ -3453,6 +3453,9 @@
 	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 */