mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
Fix user suggestions not showing up when re-entering a room.
This commit is contained in:
committed by
Stefan Ceriu
parent
8613d32282
commit
bd45e2b93b
@@ -400,6 +400,8 @@ static CGSize kThreadListBarButtonItemImageSize;
|
||||
[self registerURLPreviewNotifications];
|
||||
|
||||
[self setupActions];
|
||||
|
||||
[self setupUserSuggestionViewIfNeeded];
|
||||
}
|
||||
|
||||
- (void)userInterfaceThemeDidChange
|
||||
@@ -1045,7 +1047,7 @@ static CGSize kThreadListBarButtonItemImageSize;
|
||||
room:dataSource.room];
|
||||
_userSuggestionCoordinator.delegate = self;
|
||||
|
||||
[self setupUserSuggestionView];
|
||||
[self setupUserSuggestionViewIfNeeded];
|
||||
}
|
||||
|
||||
- (void)onRoomDataSourceReady
|
||||
@@ -2370,10 +2372,9 @@ static CGSize kThreadListBarButtonItemImageSize;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)setupUserSuggestionView
|
||||
- (void)setupUserSuggestionViewIfNeeded
|
||||
{
|
||||
if(!self.isViewLoaded) {
|
||||
MXLogError(@"Failed setting up user suggestions. View not loaded.");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user