MasterTabBarController: Add a filterRoomsWithParentId method that should filter rooms for each tab data source with the given room parent id.

This commit is contained in:
SBiOSoftWhare
2021-07-02 18:35:29 +02:00
parent f86b2745c4
commit eafc9cb960
2 changed files with 14 additions and 0 deletions
@@ -152,6 +152,13 @@
- (void)presentReviewUnverifiedSessionsAlertIfNeededWithSession:(MXSession*)session;
/// Filter rooms for each tab data source with the given room parent id.
/// It should keep rooms having an ancestor with `roomParentId` as parent id.
/// @param roomParentId The room parent id used to filter rooms.
/// @param mxSession The matrix session in which the room filtering should be done.
- (void)filterRoomsWithParentId:(NSString*)roomParentId
inMatrixSession:(MXSession*)mxSession;
// Reference to the current auth VC. It is not nil only when the auth screen is displayed.
@property (nonatomic, readonly) AuthenticationViewController *authViewController;