about summary refs log tree commit diff stats
path: root/tests/unittests/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-09-27 23:08:30 +0100
committerJames Booth <boothj5@gmail.com>2015-09-27 23:08:30 +0100
commit54e225aa5330b7a3c20bda38264e5ad0cfdfcdc5 (patch)
tree059b5e62ea42a173cad18dae4edf0cde535ed7de /tests/unittests/config
parentfe22fea9a81d097f8b4cda60d6a63db3a5220a5a (diff)
downloadprofani-tty-54e225aa5330b7a3c20bda38264e5ad0cfdfcdc5.tar.gz
Added auto xa option, tidied autoaway code
Diffstat (limited to 'tests/unittests/config')
-rw-r--r--tests/unittests/config/stub_accounts.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unittests/config/stub_accounts.c b/tests/unittests/config/stub_accounts.c
index 89b6dfc2..e13df7e7 100644
--- a/tests/unittests/config/stub_accounts.c
+++ b/tests/unittests/config/stub_accounts.c
@@ -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_status(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) {}
 
@@ -136,6 +137,11 @@ resource_presence_t accounts_get_login_presence(const char * const account_name)
     return RESOURCE_ONLINE;
 }
 
+char * accounts_get_last_status(const char * const account_name)
+{
+    return NULL;
+}
+
 resource_presence_t accounts_get_last_presence(const char * const account_name)
 {
     check_expected(account_name);