xep-0308: enable corrections for outgoing encrypted messages
This commit is contained in:
@@ -7529,7 +7529,7 @@ cmd_otr_start(ProfWin *window, const char *const command, gchar **args)
|
||||
|
||||
if (!otr_is_secure(barejid)) {
|
||||
char *otr_query_message = otr_start_query();
|
||||
char *id = message_send_chat_otr(barejid, otr_query_message, FALSE);
|
||||
char *id = message_send_chat_otr(barejid, otr_query_message, FALSE, NULL);
|
||||
free(id);
|
||||
return TRUE;
|
||||
}
|
||||
@@ -7562,7 +7562,8 @@ cmd_otr_start(ProfWin *window, const char *const command, gchar **args)
|
||||
}
|
||||
|
||||
char *otr_query_message = otr_start_query();
|
||||
char *id = message_send_chat_otr(chatwin->barejid, otr_query_message, FALSE);
|
||||
char *id = message_send_chat_otr(chatwin->barejid, otr_query_message, FALSE, NULL);
|
||||
|
||||
free(id);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user