Refactored chat session handling on sending message
This commit is contained in:
@@ -141,9 +141,10 @@ void handle_message_error_when_recipient_cancel_disables_chat_session(void **sta
|
||||
expect_any(ui_handle_recipient_not_found, err_msg);
|
||||
|
||||
handle_message_error(from, type, err_msg);
|
||||
gboolean chat_session_supported = chat_session_on_message_send(from);
|
||||
chat_session_on_message_send(from);
|
||||
gboolean send_states = chat_session_send_states(from);
|
||||
|
||||
assert_false(chat_session_supported);
|
||||
assert_false(send_states);
|
||||
chat_sessions_clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user