Add no-copy and no-store hints to OTR messages

This commit is contained in:
Sam Whited
2015-07-01 09:04:54 -05:00
parent d5f79c7b35
commit 167ee28ec0
3 changed files with 29 additions and 0 deletions

View File

@@ -213,6 +213,8 @@ message_send_chat_otr(const char * const barejid, const char * const msg)
}
stanza_attach_carbons_private(ctx, message);
stanza_attach_hints_no_copy(ctx, message);
stanza_attach_hints_no_store(ctx, message);
if (prefs_get_boolean(PREF_RECEIPTS_REQUEST)) {
stanza_attach_receipt_request(ctx, message);