mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
[Spaces] Show spaces in left panel #4509
- filter rooms using `MXSpaceService` new API
This commit is contained in:
parent
a80249f4f2
commit
8d6bdb7e8c
1 changed files with 0 additions and 1 deletions
|
@ -1170,7 +1170,6 @@ NSString *const kRecentsDataSourceTapOnDirectoryServerChange = @"kRecentsDataSou
|
|||
for (NSUInteger index = 0; index < count; index++)
|
||||
{
|
||||
id<MXKRecentCellDataStoring> cell = [recentsDataSource cellDataAtIndex:index];
|
||||
// if (self.currentSpace == nil || [self.currentSpace isRoomAChildWithRoomId:cell.roomSummary.roomId])
|
||||
if (self.currentSpace == nil || [self.mxSession.spaceService isRoomWithId:cell.roomSummary.roomId descendantOf:self.currentSpace.spaceId])
|
||||
{
|
||||
[cells addObject:cell];
|
||||
|
|
Loading…
Reference in a new issue