diff libpurple/protocols/msn/notification.c @ 23498:80d09f42b157

A patch from felipec to consistently use NULL for the status of offline MSN buddies. References #5377. And http://pidgin.im/pipermail/devel/2008-June/006136.html
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 22 Jun 2008 21:31:58 +0000
parents 54f7e507ea7d
children 03ade2360ba6
line wrap: on
line diff
--- a/libpurple/protocols/msn/notification.c	Sun Jun 22 20:35:47 2008 +0000
+++ b/libpurple/protocols/msn/notification.c	Sun Jun 22 21:31:58 2008 +0000
@@ -980,7 +980,7 @@
 
 	/* Tell libpurple that the user has signed off */
 	user = msn_userlist_find_user(cmdproc->session->userlist, cmd->params[0]);
-	user->status = "offline";
+	msn_user_set_state(user, NULL);
 	msn_user_update(user);
 
 	/* If we have an open MsnSlpLink with the user then close it */