about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 3f695cc1..5ddfa07e 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -777,6 +777,7 @@ cmd_disconnect(ProfWin *window, const char * const command, gchar **args)
     if (jabber_get_connection_status() == JABBER_CONNECTED) {
         char *jid = strdup(jabber_get_fulljid());
         cons_show("%s logged out successfully.", jid);
+        accounts_set_last_activity(jabber_get_account_name());
         jabber_disconnect();
         roster_clear();
         muc_invites_clear();