mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-28 13:58:45 +00:00
Fix for using any method automatically triggering checkForUpdate via notification
This commit is contained in:
@@ -803,6 +803,7 @@ static NSString *kHockeyErrorDomain = @"HockeyErrorDomain";
|
||||
}
|
||||
|
||||
- (void)checkForUpdate {
|
||||
if (!updateURL_) return;
|
||||
if (self.requireAuthorization) return;
|
||||
if (self.isUpdateAvailable && [self.app.mandatory boolValue]) {
|
||||
[self showCheckForUpdateAlert_];
|
||||
|
||||
Reference in New Issue
Block a user