diff libpurple/protocols/bonjour/bonjour.c @ 21527:5b9da9db7e81

Various bugfixes including using purple_account_remove_buddy() in addition to purple_blist_remove_buddy() to make sure that the buddy gets cleaned up fully when logging out or we go offline.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 15 Nov 2007 17:27:16 +0000
parents dc703f13449a
children d3ac933fae46
line wrap: on
line diff
--- a/libpurple/protocols/bonjour/bonjour.c	Thu Nov 15 17:25:34 2007 +0000
+++ b/libpurple/protocols/bonjour/bonjour.c	Thu Nov 15 17:27:16 2007 +0000
@@ -86,6 +86,7 @@
 				if (buddy->account != account)
 					continue;
 				purple_prpl_got_user_status(account, buddy->name, "offline", NULL);
+				purple_account_remove_buddy(account, buddy, NULL);
 				purple_blist_remove_buddy(buddy);
 			}
 		}