mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 01:32:17 -05:00
only default to omemo when all our devices support it
This commit is contained in:
parent
aced9d2697
commit
e41a9483bd
@ -683,6 +683,7 @@ public class Conversation extends AbstractEntity implements Blockable {
|
|||||||
&& axolotlService != null
|
&& axolotlService != null
|
||||||
&& mode == MODE_SINGLE
|
&& mode == MODE_SINGLE
|
||||||
&& axolotlService.isConversationAxolotlCapable(this)
|
&& axolotlService.isConversationAxolotlCapable(this)
|
||||||
|
&& getAccount().getSelfContact().getPresences().allOrNonSupport(AxolotlService.PEP_DEVICE_LIST_NOTIFY)
|
||||||
&& getContact().getPresences().allOrNonSupport(AxolotlService.PEP_DEVICE_LIST_NOTIFY)) {
|
&& getContact().getPresences().allOrNonSupport(AxolotlService.PEP_DEVICE_LIST_NOTIFY)) {
|
||||||
return Message.ENCRYPTION_AXOLOTL;
|
return Message.ENCRYPTION_AXOLOTL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user