Recents: Recognise server notices room(s) and put them in the dedicated section

https://github.com/vector-im/riot-ios/issues/1937
This commit is contained in:
manuroe
2018-08-23 16:50:14 +02:00
parent e9379efafd
commit 3fb5cfa619
4 changed files with 74 additions and 9 deletions
@@ -52,12 +52,14 @@ extern NSString *const kRecentsDataSourceTapOnDirectoryServerChange;
@property (nonatomic) NSInteger peopleSection;
@property (nonatomic) NSInteger conversationSection;
@property (nonatomic) NSInteger lowPrioritySection;
@property (nonatomic) NSInteger serverNoticeSection;
@property (nonatomic, readonly) NSArray* invitesCellDataArray;
@property (nonatomic, readonly) NSArray* favoriteCellDataArray;
@property (nonatomic, readonly) NSArray* peopleCellDataArray;
@property (nonatomic, readonly) NSArray* conversationCellDataArray;
@property (nonatomic, readonly) NSArray* lowPriorityCellDataArray;
@property (nonatomic, readonly) NSArray* serverNoticeCellDataArray;
/**
Set the delegate by specifying the selected display mode.