Handle recipient not found

This commit is contained in:
James Booth
2014-01-26 18:30:34 +00:00
parent 46b3ff6f44
commit 292ae567aa
8 changed files with 182 additions and 16 deletions

View File

@@ -52,6 +52,16 @@ handle_error_message(const char *from, const char *err_msg)
}
}
void
handle_recipient_not_found(const char *from)
{
log_info("Removing chat session for %s", from);
ui_handle_recipient_not_found(from);
if (prefs_get_boolean(PREF_STATES)) {
chat_session_set_recipient_supports(from, FALSE);
}
}
void
handle_login_account_success(char *account_name)
{