change(roles and permissions): improve the flow

This commit is contained in:
ganfra 2025-11-05 14:42:34 +01:00
parent 8b60c8309c
commit 42b8dc33f2
13 changed files with 93 additions and 85 deletions

View file

@ -24,11 +24,11 @@ fun interface ChangeRoomMemberRolesEntryPoint : FeatureEntryPoint {
interface NodeProxy {
val roomId: RoomId
suspend fun waitForRoleChanged()
suspend fun waitForCompletion(): Boolean
}
}
enum class ChangeRoomMemberRolesListType : NodeInputs {
enum class ChangeRoomMemberRolesListType {
SelectNewOwnersWhenLeaving,
Admins,
Moderators