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) {
|
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) {
|
public Pair<AxolotlCapability,Jid> isConversationAxolotlCapableDetailed(Conversation conversation) {
|
||||||
|
|
Loading…
Reference in a new issue