mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 00:24:43 +02:00
Merge branch 'develop' into gil/SP1_space_creation
# Conflicts: # Riot/Modules/Room/RoomCoordinatorBridgePresenter.swift # Riot/Modules/Room/RoomCoordinatorParameters.swift # Riot/Modules/Room/RoomViewController.m # Riot/Modules/TabBar/TabBarCoordinator.swift
This commit is contained in:
@@ -30,6 +30,7 @@
|
||||
@class BadgeLabel;
|
||||
@class UniversalLinkParameters;
|
||||
@protocol RoomViewControllerDelegate;
|
||||
@class RoomDisplayConfiguration;
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@@ -72,6 +73,11 @@ extern NSNotificationName const RoomGroupCallTileTappedNotification;
|
||||
*/
|
||||
@property (nonatomic, readonly, nullable) RoomPreviewData *roomPreviewData;
|
||||
|
||||
/**
|
||||
Display configuration for the room view controller.
|
||||
*/
|
||||
@property (nonatomic, readonly) RoomDisplayConfiguration *displayConfiguration;
|
||||
|
||||
/**
|
||||
Tell whether a badge must be added next to the chevron (back button) showing number of unread rooms.
|
||||
YES by default.
|
||||
@@ -99,12 +105,22 @@ extern NSNotificationName const RoomGroupCallTileTappedNotification;
|
||||
|
||||
- (IBAction)scrollToBottomAction:(id)sender;
|
||||
|
||||
/**
|
||||
Highlights an event in the timeline. Does not reload room data source if the event is already loaded. Otherwise, loads a new data source around the given event.
|
||||
|
||||
@param eventId Identifier of the event to be highlighted.
|
||||
@param completion Completion block to be called at the end of process. Optional.
|
||||
*/
|
||||
- (void)highlightAndDisplayEvent:(NSString *)eventId completion:(nullable void (^)(void))completion;
|
||||
|
||||
/**
|
||||
Creates and returns a new `RoomViewController` object.
|
||||
|
||||
@param configuration display configuration for the room view controller.
|
||||
|
||||
@return An initialized `RoomViewController` object.
|
||||
*/
|
||||
+ (instancetype)instantiate;
|
||||
+ (instancetype)instantiateWithConfiguration:(RoomDisplayConfiguration *)configuration;
|
||||
|
||||
@end
|
||||
|
||||
@@ -134,9 +150,11 @@ extern NSNotificationName const RoomGroupCallTileTappedNotification;
|
||||
|
||||
@param roomViewController the `RoomViewController` instance.
|
||||
@param roomID the selected roomId
|
||||
@param eventID the selected eventId
|
||||
*/
|
||||
- (void)roomViewController:(RoomViewController *)roomViewController
|
||||
showRoomWithId:(NSString *)roomID;
|
||||
showRoomWithId:(NSString *)roomID
|
||||
eventId:(nullable NSString *)eventID;
|
||||
|
||||
/**
|
||||
Tells the delegate that the user wants to start a direct chat with a user.
|
||||
@@ -206,6 +224,9 @@ handleUniversalLinkWithParameters:(UniversalLinkParameters*)parameters;
|
||||
didRequestLocationPresentationForEvent:(MXEvent *)event
|
||||
bubbleData:(id<MXKRoomBubbleCellDataStoring>)bubbleData;
|
||||
|
||||
- (nullable UIActivityViewController *)roomViewController:(RoomViewController *)roomViewController
|
||||
locationShareActivityViewControllerForEvent:(MXEvent *)event;
|
||||
|
||||
- (BOOL)roomViewController:(RoomViewController *)roomViewController
|
||||
canEndPollWithEventIdentifier:(NSString *)eventIdentifier;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user