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
@@ -118,7 +118,7 @@ class UserProfileScreenViewModel: UserProfileScreenViewModelType, UserProfileScr
switch await clientProxy.directRoomForUserID(userProfile.userID) {
case .success(let roomID):
if let roomID = roomID {
if let roomID {
actionsSubject.send(.openDirectChat(roomID: roomID))
} else {
let string = userProfile.displayName ?? userProfile.userID