diff --git a/Riot/Modules/Settings/SettingsViewController.m b/Riot/Modules/Settings/SettingsViewController.m index e0f4d28581..39698f765f 100644 --- a/Riot/Modules/Settings/SettingsViewController.m +++ b/Riot/Modules/Settings/SettingsViewController.m @@ -341,13 +341,6 @@ - (void)finalizeInit } - (void)dealloc { - // Remove observers - if (pushInfoUpdateObserver) - { - [[NSNotificationCenter defaultCenter] removeObserver:pushInfoUpdateObserver name:kMXKAccountAPNSActivityDidChangeNotification object:nil]; - pushInfoUpdateObserver = nil; - } - // Fix for destroy not being called [self destroy]; }