mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Revert "use isDm from the SDK to determine if a room is a direct one to one room."
This reverts commit 58d0841bedb9cc40bd5880a76f3cc1f56c3b8bdb.
This commit is contained in:
@@ -15294,11 +15294,6 @@ class RoomInfoProxyMock: RoomInfoProxyProtocol, @unchecked Sendable {
|
||||
set(value) { underlyingIsFavourite = value }
|
||||
}
|
||||
var underlyingIsFavourite: Bool!
|
||||
var isDM: Bool {
|
||||
get { return underlyingIsDM }
|
||||
set(value) { underlyingIsDM = value }
|
||||
}
|
||||
var underlyingIsDM: Bool!
|
||||
var canonicalAlias: String?
|
||||
var alternativeAliases: [String] = []
|
||||
var membership: Membership {
|
||||
|
||||
@@ -182,7 +182,6 @@ extension RoomInfoProxyMock {
|
||||
activeMembersCount = configuration.members.filter { $0.membership == .join || $0.membership == .invite }.count
|
||||
invitedMembersCount = configuration.members.filter { $0.membership == .invite }.count
|
||||
joinedMembersCount = configuration.members.filter { $0.membership == .join }.count
|
||||
isDM = configuration.isDirect && activeMembersCount <= 2
|
||||
highlightCount = 0
|
||||
notificationCount = 0
|
||||
cachedUserDefinedNotificationMode = .allMessages
|
||||
|
||||
Reference in New Issue
Block a user