# HG changeset patch # User Sadrul Habib Chowdhury # Date 1188418845 0 # Node ID ecc6019f0a82d2d4578d5f55e14a6f4d324af3c1 # Parent b7fa8fa4de5b222e610042a872461310d2e949cd Deactivate only an active status. This fixes the online-counting, which was causing groups and contacts to disappear from the buddylist. This probably also fixes #2853. diff -r b7fa8fa4de5b -r ecc6019f0a82 libpurple/prpl.c --- a/libpurple/prpl.c Wed Aug 29 06:18:49 2007 +0000 +++ b/libpurple/prpl.c Wed Aug 29 20:20:45 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);