changeset 19535:7d9887c3ac81

merge of '2828a20e21dea1029a9d9df5e39bcdc2847930b5' and '35ada91de60836a7701f8a8d283daec443b2c502'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 29 Aug 2007 20:28:35 +0000
parents 126c5235627b (current diff) ecc6019f0a82 (diff)
children a77432fe2f3b 6575ec8e1a97
files share/ca-certs/Verisign_Class3_Extended_Validation_CA.pem
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/prpl.c	Wed Aug 29 20:05:17 2007 +0000
+++ b/libpurple/prpl.c	Wed Aug 29 20:28:35 2007 +0000
@@ -199,8 +199,10 @@
 		if(NULL == status)
 			continue;
 
-		purple_status_set_active(status, FALSE);
-		purple_blist_update_buddy_status(buddy, status);
+		if (purple_status_is_active(status)) {
+			purple_status_set_active(status, FALSE);
+			purple_blist_update_buddy_status(buddy, status);
+		}
 	}
 
 	g_slist_free(list);