Merge pull request #4934 from vector-im/gil/4916_spaces_still_visible_after_logging_in_with_another_account_hotfix

Spaces still visible after logging in with another account
This commit is contained in:
Gil Eluard
2021-09-30 15:58:42 +02:00
committed by GitHub
@@ -123,7 +123,7 @@ final class SpaceListViewModel: SpaceListViewModelType {
}
private func loadData() {
guard let session = self.userSessionsService.mainUserSession?.matrixSession, session.mediaManager != nil else {
guard let session = self.userSessionsService.mainUserSession?.matrixSession else {
return
}