Disable OMEMO by default for cheogram.com bot
This commit is contained in:
parent
ca6a3c7e16
commit
20049ffc24
|
@ -167,6 +167,8 @@ class MessageEventHandler: XmppServiceEventHandler {
|
|||
// chat.options.encryption == nil means it is set to defualt
|
||||
if let telephonyProvider = AccountSettings.telephonyProvider(account).getString(), jid.domain.lowercased() == telephonyProvider.lowercased(), (chat.options.encryption == nil || chat.options.encryption == ChatEncryption.none) {
|
||||
encryption = ChatEncryption.none
|
||||
} else if jid.domain.lowercased() == "cheogram.com" {
|
||||
encryption = ChatEncryption.none
|
||||
}
|
||||
|
||||
switch encryption {
|
||||
|
|
Loading…
Reference in a new issue