change(roles and permissions): improve the flow
This commit is contained in:
parent
8b60c8309c
commit
42b8dc33f2
13 changed files with 93 additions and 85 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue