mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 18:16:21 +00:00
Save last activity to account on disconnect
This commit is contained in:
@@ -122,6 +122,7 @@ void accounts_set_otr_policy(const char * const account_name, const char * const
|
||||
}
|
||||
|
||||
void accounts_set_last_presence(const char * const account_name, const char * const value) {}
|
||||
void accounts_set_last_activity(const char * const account_name) {}
|
||||
void accounts_set_pgp_keyid(const char * const account_name, const char * const value) {}
|
||||
|
||||
void accounts_set_login_presence(const char * const account_name, const char * const value)
|
||||
|
||||
@@ -22,6 +22,7 @@ void clears_chat_sessions(void **state)
|
||||
chat_session_recipient_active("mike@server.org", "work", FALSE);
|
||||
|
||||
will_return(jabber_get_connection_status, JABBER_CONNECTED);
|
||||
will_return(jabber_get_account_name, "someaccount");
|
||||
will_return(jabber_get_fulljid, "myjid@myserver.com");
|
||||
expect_any_cons_show();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user