mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 11:12:16 -05:00
made omemo always available but in public mucs
This commit is contained in:
parent
002dbf2e17
commit
85dc0c284d
@ -764,7 +764,7 @@ public class AxolotlService implements OnAdvancedStreamFeaturesLoaded {
|
||||
}
|
||||
|
||||
public boolean isConversationAxolotlCapable(Conversation conversation) {
|
||||
return isConversationAxolotlCapableDetailed(conversation).first == AxolotlCapability.FULL;
|
||||
return conversation.getMode() == Conversation.MODE_SINGLE || (conversation.getMucOptions().nonanonymous() && conversation.getMucOptions().membersOnly());
|
||||
}
|
||||
|
||||
public Pair<AxolotlCapability,Jid> isConversationAxolotlCapableDetailed(Conversation conversation) {
|
||||
|
Loading…
Reference in New Issue
Block a user