Send private carbons element with message when encrypted
This commit is contained in:
@@ -551,8 +551,8 @@ cmd_otr_start_sends_otr_query_message_to_current_recipeint(void **state)
|
||||
will_return(otr_key_loaded, TRUE);
|
||||
will_return(otr_start_query, query_message);
|
||||
|
||||
expect_string(message_send_chat, barejid, chatwin->barejid);
|
||||
expect_string(message_send_chat, msg, query_message);
|
||||
expect_string(message_send_chat_encrypted, barejid, chatwin->barejid);
|
||||
expect_string(message_send_chat_encrypted, msg, query_message);
|
||||
|
||||
gboolean result = cmd_otr(args, *help);
|
||||
assert_true(result);
|
||||
|
||||
@@ -64,6 +64,12 @@ void message_send_chat(const char * const barejid, const char * const msg)
|
||||
check_expected(msg);
|
||||
}
|
||||
|
||||
void message_send_chat_encrypted(const char * const barejid, const char * const msg)
|
||||
{
|
||||
check_expected(barejid);
|
||||
check_expected(msg);
|
||||
}
|
||||
|
||||
void message_send_private(const char * const fulljid, const char * const msg) {}
|
||||
void message_send_groupchat(const char * const roomjid, const char * const msg) {}
|
||||
void message_send_groupchat_subject(const char * const roomjid, const char * const subject) {}
|
||||
|
||||
Reference in New Issue
Block a user