From 3b25fb9038348d9dce186569084820beec491247 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Tue, 4 May 2021 10:49:41 +0200 Subject: [PATCH] encrypt to inactive and untrusted devices in jingle encrypting to untrusted devices means no degradition of security compared to not encrypting at all. Trust status display (shield) is made independently at a later stage. --- .../eu/siacs/conversations/crypto/axolotl/AxolotlService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java index 6f233d871..e89eb4d13 100644 --- a/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java +++ b/src/main/java/eu/siacs/conversations/crypto/axolotl/AxolotlService.java @@ -1217,7 +1217,7 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded { final XmppAxolotlMessage axolotlMessage = new XmppAxolotlMessage(account.getJid().asBareJid(), getOwnDeviceId()); final String content = child.getContent(); axolotlMessage.encrypt(content); - axolotlMessage.addDevice(session); + axolotlMessage.addDevice(session, true); fingerprint.addChild(axolotlMessage.toElement()); transportInfo.addChild(fingerprint); } else {