[gaim-migrate @ 13497]

Thu, 18 Aug 2005 04:59:23 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Thu, 18 Aug 2005 04:59:23 +0000
changeset 11297
36fca399e12e
parent 11296
886f2e4642c6
child 11298
46959efe9342

[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.

src/connection.c file | annotate | diff | comparison | revisions
--- 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 */
 	/*

mercurial