Merge pull request #3887 from element-hq/feature/fga/close_room_leave_action

fix : use RoomMembershipObserver to close room screen when leaving
This commit is contained in:
ganfra 2024-11-22 09:52:42 +01:00 committed by GitHub
commit e76f7fb67e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 44 additions and 33 deletions

View file

@ -43,14 +43,14 @@ class JoinRoomNode @AssistedInject constructor(
state = state,
onBackClick = ::navigateUp,
onJoinSuccess = ::navigateUp,
onCancelKnockSuccess = ::navigateUp,
onKnockSuccess = { },
onCancelKnockSuccess = {},
onKnockSuccess = {},
modifier = modifier
)
acceptDeclineInviteView.Render(
state = state.acceptDeclineInviteState,
onAcceptInvite = {},
onDeclineInvite = { navigateUp() },
onDeclineInvite = {},
modifier = Modifier
)
}