changeset 22737:116a1483d554

Do not show an erroneous message when the 'now listening' song for a buddy changes.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 26 Apr 2008 00:46:20 +0000
parents bcaed4d5522b
children 35621ae24544
files libpurple/plugins/statenotify.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/plugins/statenotify.c	Sat Apr 26 00:43:15 2008 +0000
+++ b/libpurple/plugins/statenotify.c	Sat Apr 26 00:46:20 2008 +0000
@@ -42,6 +42,10 @@
 {
 	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);