pidgin.next.minor: 6f79209f: Use purple_prpl_got_media_caps in purple...

maiku at pidgin.im maiku at pidgin.im
Tue Oct 20 17:06:14 EDT 2009


-----------------------------------------------------------------
Revision: 6f79209fb9144a3aded6396c5ee88b2509c699af
Ancestor: 8efa0866a7f0c98d3e027184b7990fc83a4f935b
Author: maiku at pidgin.im
Date: 2009-10-20T20:41:23
Branch: im.pidgin.pidgin.next.minor
URL: http://d.pidgin.im/viewmtn/revision/info/6f79209fb9144a3aded6396c5ee88b2509c699af

Modified files:
        libpurple/prpl.c

ChangeLog: 

Use purple_prpl_got_media_caps in purple_prpl_got_user_status to remove media
caps when the buddy goes offline.

-------------- next part --------------
============================================================
--- libpurple/prpl.c	8b5b83d10e3edb02867702256739637a43a1d21e
+++ libpurple/prpl.c	b686db639b91c1e07116fb29fda8e905d70a6175
@@ -288,8 +288,10 @@ purple_prpl_got_user_status(PurpleAccoun
 
 	/* The buddy is no longer online, they are therefore by definition not
 	 * still typing to us. */
-	if (!purple_status_is_online(status))
+	if (!purple_status_is_online(status)) {
 		serv_got_typing_stopped(purple_account_get_connection(account), name);
+		purple_prpl_got_media_caps(account, name);
+	}
 }
 
 void purple_prpl_got_user_status_deactive(PurpleAccount *account, const char *name,


More information about the Commits mailing list