1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Removed redundant last activity setter

This commit is contained in:
James Booth 2015-09-25 00:35:08 +01:00
parent b484411ea8
commit a5c6710024

View File

@ -777,7 +777,6 @@ cmd_disconnect(ProfWin *window, const char * const command, gchar **args)
if (jabber_get_connection_status() == JABBER_CONNECTED) { if (jabber_get_connection_status() == JABBER_CONNECTED) {
char *jid = strdup(jabber_get_fulljid()); char *jid = strdup(jabber_get_fulljid());
cons_show("%s logged out successfully.", jid); cons_show("%s logged out successfully.", jid);
accounts_set_last_activity(jabber_get_account_name());
jabber_disconnect(); jabber_disconnect();
roster_clear(); roster_clear();
muc_invites_clear(); muc_invites_clear();