change(roles and permissions): improve the flow

This commit is contained in:
ganfra 2025-11-05 14:42:34 +01:00
parent 849dfa4a5e
commit 288171ba90
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