Fix typo in re-registration flow

// FREEBIE
This commit is contained in:
Michael Kirk 2017-11-16 12:27:57 -05:00 committed by Matthew Chen
parent e84fcd7c94
commit 607a5cb08e
1 changed files with 2 additions and 2 deletions

View File

@ -270,8 +270,8 @@ NSString *const OWSPreferencesKeyIOSUpgradeNagVersion = @"iOSUpgradeNagVersion";
- (void)unsetRecordedAPNSTokens
{
DDLogWarn(@"%@ Forgetting recorded APNS tokens", self.tag);
[self setValue:nil forKey:OWSPreferencesKeyLastRecordedPushToken];
[self setValue:nil forKey:OWSPreferencesKeyLastRecordedVoipToken];
[self setValueForKey:OWSPreferencesKeyLastRecordedPushToken toValue:nil];
[self setValueForKey:OWSPreferencesKeyLastRecordedVoipToken toValue:nil];
}
#pragma mark - Logging