pidgin: a9effedf: Do not show an erroneous message when th...

sadrul at pidgin.im sadrul at pidgin.im
Sat Apr 26 00:45:44 EDT 2008


-----------------------------------------------------------------
Revision: a9effedf3cf01c4a9422cd8a1b4cb4d9975077e9
Ancestor: 1e5b04b80af9564fe43dce4e0d38007f759abc9f
Author: sadrul at pidgin.im
Date: 2008-04-26T00:46:20
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a9effedf3cf01c4a9422cd8a1b4cb4d9975077e9

Modified files:
        libpurple/plugins/statenotify.c

ChangeLog: 

Do not show an erroneous message when the 'now listening' song for a
buddy changes.

-------------- next part --------------
============================================================
--- libpurple/plugins/statenotify.c	7259a6bd31ed97dc3427ddffb86f64642350af20
+++ libpurple/plugins/statenotify.c	caac5d791421b201b76ac8111f2cf4698fbedb5b
@@ -42,6 +42,10 @@ buddy_status_changed_cb(PurpleBuddy *bud
 {
 	gboolean available, old_available;
 
+	if (!purple_status_is_exclusive(status) ||
+			!purple_status_is_exclusive(old_status))
+		return;
+
 	available = purple_status_is_available(status);
 	old_available = purple_status_is_available(old_status);
 


More information about the Commits mailing list