mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-06 20:38:41 +00:00
Add a UserProfileScreen for profiles of non-members. (#2687)
This commit is contained in:
+3
@@ -26,6 +26,7 @@ struct RoomMemberDetailsScreenCoordinatorParameters {
|
||||
}
|
||||
|
||||
enum RoomMemberDetailsScreenCoordinatorAction {
|
||||
case openUserProfile
|
||||
case openDirectChat(displayName: String?)
|
||||
}
|
||||
|
||||
@@ -52,6 +53,8 @@ final class RoomMemberDetailsScreenCoordinator: CoordinatorProtocol {
|
||||
guard let self else { return }
|
||||
|
||||
switch action {
|
||||
case .openUserProfile:
|
||||
actionsSubject.send(.openUserProfile)
|
||||
case .openDirectChat(let displayName):
|
||||
actionsSubject.send(.openDirectChat(displayName: displayName))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user