Added auto xa option, tidied autoaway code

This commit is contained in:
James Booth
2015-09-27 23:08:30 +01:00
parent fe22fea9a8
commit 54e225aa53
13 changed files with 319 additions and 179 deletions

View File

@@ -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);