RoomDataSource: Handle current user location sharing status.

This commit is contained in:
SBiOSoftWhare
2022-03-28 10:16:07 +02:00
parent 56a31a0d13
commit 56dbadf356
2 changed files with 35 additions and 0 deletions
@@ -66,6 +66,9 @@
*/
@property (nonatomic, nullable) NSString *highlightedEventId;
/// Is current user sharing is location in the room
@property(nonatomic, readonly) BOOL isCurrentUserSharingIsLocation;
/**
Check if there is an active jitsi widget in the room and return it.
@@ -132,4 +135,7 @@
- (void)roomDataSource:(RoomDataSource * _Nonnull)roomDataSource
didTapThread:(id<MXThreadProtocol> _Nonnull)thread;
/// Called when current live location sharing status is changing (start or stop location sharing in the room)
- (void)roomDataSourceDidUpdateCurrentUserSharingLocationStatus:(RoomDataSource * _Nonnull)roomDataSource;
@end