pr suggestions

This commit is contained in:
Element CI
2025-02-03 16:14:51 +01:00
committed by Mauro
parent 14e5d1aa94
commit 10d39257f0
4 changed files with 6 additions and 6 deletions
@@ -184,7 +184,7 @@ class RoomMemberDetailsScreenViewModel: RoomMemberDetailsScreenViewModelType, Ro
switch await clientProxy.directRoomForUserID(roomMemberProxy.userID) {
case .success(let roomID):
if let roomID = roomID {
if let roomID {
actionsSubject.send(.openDirectChat(roomID: roomID))
} else {
let string = roomMemberProxy.displayName ?? roomMemberProxy.userID