1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Fixed chat sessions test

This commit is contained in:
James Booth 2015-01-05 23:42:32 +00:00
parent 9cb0d52e7d
commit 15bb6fb68f

View File

@ -141,10 +141,9 @@ 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);
chat_session_on_message_send(from);
gboolean send_states = chat_session_send_states(from);
gboolean session_exists = chat_session_exists(from);
assert_false(send_states);
assert_false(session_exists);
chat_sessions_clear();
}