Accepting and declining invites
Hook up accept and decline buttons in the invites UI. Accept will attempt to accept and then navigate to the room; decline shows a confirmation dialog. Fixes #106
This commit is contained in:
parent
114e9725fa
commit
ff5672597a
26 changed files with 582 additions and 77 deletions
|
|
@ -227,6 +227,10 @@ class LoggedInFlowNode @AssistedInject constructor(
|
|||
override fun onBackClicked() {
|
||||
backstack.pop()
|
||||
}
|
||||
|
||||
override fun onInviteAccepted(roomId: RoomId) {
|
||||
backstack.push(NavTarget.Room(roomId))
|
||||
}
|
||||
}
|
||||
|
||||
inviteListEntryPoint.nodeBuilder(this, buildContext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue