# HG changeset patch # User Mark Doliner # Date 1124341163 0 # Node ID 84d3f47e6258bb32e7a388209cc98025920f6d20 # Parent 87a7fdd3ffccf03c9ef3168164095706e029eca0 [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 diff -r 87a7fdd3ffcc -r 84d3f47e6258 src/connection.c --- 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 */ /*