use isDm from the SDK to determine if a room is a direct one to one room.

This commit is contained in:
Mauro Romito
2026-05-06 12:05:44 +02:00
committed by Mauro
parent 2ce32d00ef
commit b5d9f03ad0
6 changed files with 13 additions and 1 deletions
@@ -182,6 +182,7 @@ 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