mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
use isDm from the SDK to determine if a room is a direct one to one room.
This commit is contained in:
@@ -224,7 +224,7 @@ extension JoinedRoomProxyProtocol {
|
||||
}
|
||||
|
||||
var isDirectOneToOneRoom: Bool {
|
||||
infoPublisher.value.isDirect && infoPublisher.value.activeMembersCount <= 2
|
||||
infoPublisher.value.isDM
|
||||
}
|
||||
|
||||
func members() async -> [RoomMemberProxyProtocol]? {
|
||||
|
||||
Reference in New Issue
Block a user