diff libpurple/protocols/jabber/presence.c @ 29530: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 d9eb51a3a3a2
children 8a50c08c289d
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