mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-01 13:46:57 +02:00
Bug Fix: The preview header is empty for non world readable public room.
This commit is contained in:
@@ -52,10 +52,12 @@
|
||||
|
||||
/**
|
||||
Preview information.
|
||||
They come from the `emailInvitationParams` or [self fetchPreviewData].
|
||||
*/
|
||||
@property (nonatomic, readonly) NSString *roomName;
|
||||
@property (nonatomic, readonly) NSString *roomTopic;
|
||||
@property (nonatomic, readonly) NSString *roomAvatarUrl;
|
||||
@property (nonatomic, readonly) NSArray<NSString*> *roomAliases;
|
||||
@property (nonatomic, readonly) NSInteger numJoinedMembers; // -1 if unknown.
|
||||
|
||||
/**
|
||||
The RoomDataSource to peek into the room.
|
||||
@@ -73,6 +75,14 @@
|
||||
- (instancetype)initWithRoomId:(NSString*)roomId andSession:(MXSession*)mxSession;
|
||||
- (instancetype)initWithRoomId:(NSString*)roomId emailInvitationParams:(NSDictionary*)emailInvitationParams andSession:(MXSession*)mxSession;
|
||||
|
||||
/**
|
||||
Contructors.
|
||||
|
||||
@param publicRoom a public room returned by the publicRoom request.
|
||||
@param mxSession the session to open the room preview with.
|
||||
*/
|
||||
- (instancetype)initWithPublicRoom:(MXPublicRoom*)publicRoom andSession:(MXSession*)mxSession;
|
||||
|
||||
/**
|
||||
Attempt to peek into the room to get room data (state, messages history, etc).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user