Enhancement - Room preview

If no data is available for this room, we name it with the known room alias if any.
This commit is contained in:
giomfo
2017-02-13 17:58:29 +01:00
parent 56c691d7e7
commit 712b47e015
6 changed files with 43 additions and 17 deletions
+3 -3
View File
@@ -53,7 +53,7 @@
/**
Preview information.
*/
@property (nonatomic, readonly) NSString *roomName;
@property (nonatomic) NSString *roomName;
@property (nonatomic, readonly) NSString *roomTopic;
@property (nonatomic, readonly) NSString *roomAvatarUrl;
@property (nonatomic, readonly) NSArray<NSString*> *roomAliases;
@@ -88,10 +88,10 @@
The operation succeeds only if the room history is world_readable.
@param completion the block called when the request is complete. `successed` means
@param completion the block called when the request is complete. `succeeded` means
the self.roomDataSource has been created and is ready to provide
room history.
*/
- (void)peekInRoom:(void (^)(BOOL successed))completion;
- (void)peekInRoom:(void (^)(BOOL succeeded))completion;
@end