Set status to what it was before autoaway
This commit is contained in:
@@ -574,12 +574,11 @@ ui_auto_away(void)
|
||||
}
|
||||
|
||||
void
|
||||
ui_end_auto_away(void)
|
||||
ui_end_auto_away(resource_presence_t presence)
|
||||
{
|
||||
int pri =
|
||||
accounts_get_priority_for_presence_type(jabber_get_account_name(), RESOURCE_ONLINE);
|
||||
int pri = accounts_get_priority_for_presence_type(jabber_get_account_name(), presence);
|
||||
cons_show("No longer idle, status set to online (priority %d).", pri);
|
||||
title_bar_set_presence(CONTACT_ONLINE);
|
||||
title_bar_set_presence(contact_presence_from_resource_presence(presence));
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -226,7 +226,7 @@ void ui_subwin_page_down(void);
|
||||
void ui_clear_win(ProfWin *window);
|
||||
|
||||
void ui_auto_away(void);
|
||||
void ui_end_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,
|
||||
|
||||
Reference in New Issue
Block a user