Merge pull request #3870 from vector-im/element_3579_1

PushNotificationService: Remove double start for profiling AnalyticsNoficationsTimeToDisplayContent
This commit is contained in:
manuroe 2020-12-10 09:24:07 +01:00 committed by GitHub
commit 7dae5ad88e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1107,9 +1107,6 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
- (void)pushNotificationService:(PushNotificationService *)pushNotificationService shouldNavigateToRoomWithId:(NSString *)roomId
{
[MXSDKOptions.sharedInstance.profiler startMeasuringTaskWithName:AnalyticsNoficationsTimeToDisplayContent
category:AnalyticsNoficationsCategory];
_lastNavigatedRoomIdFromPush = roomId;
[self navigateToRoomById:roomId];
}