Log instead of showing error message when chat recipient not found

This commit is contained in:
James Booth
2015-01-06 21:51:41 +00:00
parent c04b90ce30
commit ab963499b5
2 changed files with 1 additions and 20 deletions

View File

@@ -86,7 +86,7 @@ handle_message_error(const char * const jid, const char * const type,
// handle recipient not found ('from' contains a value and type is 'cancel')
} else if (type != NULL && (strcmp(type, "cancel") == 0)) {
ui_handle_recipient_not_found(jid, err_msg);
log_info("Recipient %s not found: %s", jid, err_msg);
chat_session_on_cancel(jid);
// handle any other error from recipient