Update Riot/Managers/PushNotification/PushNotificationService.m

Co-authored-by: ismailgulek <ismailgulek@users.noreply.github.com>
This commit is contained in:
David Langley
2021-11-26 14:57:58 +00:00
committed by GitHub
parent 97c0c157dc
commit 7c56c87d3e

View File

@@ -269,7 +269,7 @@ Matrix session observer used to detect new opened sessions.
NSData* token = [_pushRegistry pushTokenForType:PKPushTypeVoIP];
if (token) {
// If the token is available, store it. This can happen if you sign out and back in.
// i.e We are registered, but we have cleared it form the the store on logout and the
// i.e We are registered, but we have cleared it from the the store on logout and the
// _pushRegistry lives through signin/signout as PushNotificationService is a singleton
// on app delegate.
_pushNotificationStore.pushKitToken = token;