about summary refs log tree commit diff stats
path: root/src/xmpp
diff options
context:
space:
mode:
authorJohn Hernandez <129467592+H3rnand3zzz@users.noreply.github.com>2023-03-31 10:41:41 +0200
committerJohn Hernandez <129467592+H3rnand3zzz@users.noreply.github.com>2023-03-31 12:30:51 +0200
commit407905cfc5a60e90ccf149929eb9517e8287ae57 (patch)
tree9d3945225d6bf15faad9613fa72689612ecde776 /src/xmpp
parent99c9f150f68ae7087e51f217ebd62010fcf07c16 (diff)
downloadprofani-tty-407905cfc5a60e90ccf149929eb9517e8287ae57.tar.gz
Fix OTR
Fix OTR: carbon in stanza breaks OTR and prevents it from starting and working properly.
Diffstat (limited to 'src/xmpp')
-rw-r--r--src/xmpp/message.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/xmpp/message.c b/src/xmpp/message.c
index 015d4157..28997474 100644
--- a/src/xmpp/message.c
+++ b/src/xmpp/message.c
@@ -598,10 +598,6 @@ message_send_chat_otr(const char* const barejid, const char* const msg, gboolean
         stanza_attach_state(ctx, message, state);
     }
 
-    stanza_attach_carbons_private(ctx, message);
-    stanza_attach_hints_no_copy(ctx, message);
-    stanza_attach_hints_no_store(ctx, message);
-
     if (request_receipt) {
         stanza_attach_receipt_request(ctx, message);
     }