changeset 11297:84d3f47e6258

[gaim-migrate @ 13497] Don't set the presence of an account to "offline" when the account signs off. This is backwards: an account should be set to "offline" and THEN it should get signed off. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Thu, 18 Aug 2005 04:59:23 +0000
parents 87a7fdd3ffcc
children e26b3f52b6f2
files src/connection.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/connection.c	Thu Aug 18 04:59:16 2005 +0000
+++ b/src/connection.c	Thu Aug 18 04:59:23 2005 +0000
@@ -157,7 +157,6 @@
 #if 0
 	GList *wins;
 #endif
-	GaimPresence *presence = NULL;
 	GaimPluginProtocolInfo *prpl_info = NULL;
 
 	g_return_if_fail(gc != NULL);
@@ -201,10 +200,6 @@
 	   OPT_LOG_BUDDY_SIGNON | OPT_LOG_MY_SIGNON); */
 	gaim_signal_emit(gaim_connections_get_handle(), "signed-off", gc);
 
-	presence = gaim_account_get_presence(account);
-	if (gaim_presence_is_online(presence) == TRUE)
-		gaim_presence_set_status_active(presence, "offline", TRUE);
-
 #if 0
 	/* see comment later in file on if 0'd same code */
 	/*