changeset 29136:f3f7f683fda5

Use purple_prpl_got_media_caps in XMPP to update the caps when they change.
author maiku@pidgin.im
date Tue, 20 Oct 2009 20:42:58 +0000
parents 7a6c114c1a49
children 33715feb7b8d
files libpurple/protocols/jabber/presence.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/presence.c	Tue Oct 20 20:41:23 2009 +0000
+++ b/libpurple/protocols/jabber/presence.c	Tue Oct 20 20:42:58 2009 +0000
@@ -472,6 +472,10 @@
 		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