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

Tue, 20 Oct 2009 20:42:58 +0000

author
Michael Ruprecht <maiku@pidgin.im>
date
Tue, 20 Oct 2009 20:42:58 +0000
branch
next.minor
changeset 29545
b2c531b5a313
parent 29544
dc16ec0027ae
child 29546
5858906c0f7b

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

libpurple/protocols/jabber/presence.c file | annotate | diff | comparison | revisions
--- 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

mercurial