mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
PushKit: Fix Steve's comment
This commit is contained in:
parent
eda09b9e93
commit
d2d2f56ae0
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue