1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-27 06:22:07 +01:00

Dont add EME hint to ratchet update messages

This commit is contained in:
Paul Schaub 2018-05-10 18:01:04 +02:00
parent 2c605e9153
commit 19a91794c6

View file

@ -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);
}
}