fix(communities): ensure permissions are rebuilt upon joining

fixes: #13385
This commit is contained in:
Patryk Osmaczko 2024-02-15 12:58:52 +01:00 committed by osmaczko
parent 4b1b779bee
commit d6ed85c67f
1 changed files with 1 additions and 0 deletions

View File

@ -895,6 +895,7 @@ method onKickedFromCommunity*(self: Module) =
self.view.setWaitingOnNewCommunityOwnerToConfirmRequestToRejoin(self.controller.waitingOnNewCommunityOwnerToConfirmRequestToRejoin(communityId))
method onJoinedCommunity*(self: Module) =
self.rebuildCommunityTokenPermissionsModel()
self.view.setAmIMember(true)
self.view.setWaitingOnNewCommunityOwnerToConfirmRequestToRejoin(false)