RoomDataSource: Only call location sharing delegation method if live location sharing build flag is eneabled.

This commit is contained in:
SBiOSoftWhare
2022-03-28 10:22:42 +02:00
parent 6304dcdc0e
commit 98923a505b
@@ -229,7 +229,10 @@ const CGFloat kTypingCellHeight = 24;
- (void)roomSummaryDidChange:(NSNotification*)notification
{
[self updateCurrentUserLocationSharingStatus];
if (BuildSettings.liveLocationSharingEnabled)
{
[self updateCurrentUserLocationSharingStatus];
}
if (!self.room.summary.isEncrypted)
{