mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:44:05 +00:00
Fix RoomProxy.isEncryptedOneToOneRoom (#1094)
This commit is contained in:
@@ -165,7 +165,7 @@ extension RoomProxyProtocol {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var isEncryptedOneToOneRoom: Bool {
|
var isEncryptedOneToOneRoom: Bool {
|
||||||
isDirect && isEncrypted && activeMembersCount == 2
|
isDirect && isEncrypted && activeMembersCount <= 2
|
||||||
}
|
}
|
||||||
|
|
||||||
func members() async -> [RoomMemberProxyProtocol]? {
|
func members() async -> [RoomMemberProxyProtocol]? {
|
||||||
|
|||||||
Reference in New Issue
Block a user