mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-19 08:46:20 +00:00
Send private carbons element with message when encrypted
This commit is contained in:
@@ -1928,7 +1928,7 @@ _cmd_execute_default(const char * inp)
|
||||
if (otr_is_secure(chatwin->barejid)) {
|
||||
char *encrypted = otr_encrypt_message(chatwin->barejid, inp);
|
||||
if (encrypted != NULL) {
|
||||
message_send_chat(chatwin->barejid, encrypted);
|
||||
message_send_chat_encrypted(chatwin->barejid, encrypted);
|
||||
otr_free_message(encrypted);
|
||||
if (prefs_get_boolean(PREF_CHLOG)) {
|
||||
const char *jid = jabber_get_fulljid();
|
||||
|
||||
Reference in New Issue
Block a user