about summary refs log tree commit diff stats
path: root/tests/unittests/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-12-14 23:53:35 +0000
committerJames Booth <boothj5@gmail.com>2015-12-14 23:57:06 +0000
commit482eea4fcf68b9f2bd9f8d6f1db98fe313bef141 (patch)
tree04b69abfafd0eb8aa51e932b73e96111548e01bf /tests/unittests/config
parent1080c8c2aedf1efab993533971f9d4478d5c77b1 (diff)
downloadprofani-tty-482eea4fcf68b9f2bd9f8d6f1db98fe313bef141.tar.gz
Moved sending of initial presence to sv_ev_roster_received
Diffstat (limited to 'tests/unittests/config')
-rw-r--r--tests/unittests/config/stub_accounts.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unittests/config/stub_accounts.c b/tests/unittests/config/stub_accounts.c
index 2ea35cb7..51d017be 100644
--- a/tests/unittests/config/stub_accounts.c
+++ b/tests/unittests/config/stub_accounts.c
@@ -195,3 +195,7 @@ void accounts_clear_otr(const char * const account_name) {}
 void accounts_clear_pgp_keyid(const char * const account_name) {}
 void accounts_clear_script_start(const char * const account_name) {}
 void accounts_add_otr_policy(const char * const account_name, const char * const contact_jid, const char * const policy) {}
+char* accounts_get_last_activity(const char *const account_name)
+{
+    return NULL;
+}