PushKit: Fix Steve's comment

This commit is contained in:
manuroe 2020-09-03 08:20:26 +02:00
parent eda09b9e93
commit d2d2f56ae0

View file

@ -465,11 +465,9 @@ Matrix session observer used to detect new opened sessions.
{
NSLog(@"[PushNotificationService][Push] clearPushNotificationToken: Clear existing token");
NSLog(@"[Push] MANU: DO NOTHING");
// Clear existing token
// MXKAccountManager* accountManager = [MXKAccountManager sharedManager];
// [accountManager setPushDeviceToken:nil withPushOptions:nil];
// Clear existing pushkit token registered on the HS
MXKAccountManager* accountManager = [MXKAccountManager sharedManager];
[accountManager setPushDeviceToken:nil withPushOptions:nil];
}
// Remove delivred notifications for a given room id except call notifications