From 19a91794c6e8d830ff5df3d988c05268d794a9ea Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 10 May 2018 18:01:04 +0200 Subject: [PATCH] Dont add EME hint to ratchet update messages --- .../main/java/org/jivesoftware/smackx/omemo/OmemoManager.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/OmemoManager.java b/smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/OmemoManager.java index 91a08f030..25e09c3ca 100644 --- a/smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/OmemoManager.java +++ b/smack-omemo/src/main/java/org/jivesoftware/smackx/omemo/OmemoManager.java @@ -49,7 +49,6 @@ import org.jivesoftware.smackx.carbons.CarbonCopyReceivedListener; import org.jivesoftware.smackx.carbons.CarbonManager; import org.jivesoftware.smackx.carbons.packet.CarbonExtension; import org.jivesoftware.smackx.disco.ServiceDiscoveryManager; -import org.jivesoftware.smackx.eme.element.ExplicitMessageEncryptionElement; import org.jivesoftware.smackx.forward.packet.Forwarded; import org.jivesoftware.smackx.hints.element.StoreHint; import org.jivesoftware.smackx.mam.MamManager; @@ -526,8 +525,6 @@ public final class OmemoManager extends Manager { // Set MAM Storage hint StoreHint.set(message); - message.addExtension(new ExplicitMessageEncryptionElement( - ExplicitMessageEncryptionElement.ExplicitMessageEncryptionProtocol.omemoVAxolotl)); connection().sendStanza(message); } }