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

View File

@@ -315,8 +315,6 @@ gboolean ui_swap_wins(int source_win, int target_win)
return FALSE;
}
void ui_auto_away(void) {}
void ui_end_auto_away(resource_presence_t presence) {}
void ui_titlebar_presence(contact_presence_t presence) {}
void ui_handle_login_account_success(ProfAccount *account) {}
void ui_update_presence(const resource_presence_t resource_presence,