mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix for using any method automatically triggering checkForUpdate via notification
This commit is contained in:
parent
0dc8ed1a34
commit
ac8b32d239
@ -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_];
|
||||
|
Loading…
x
Reference in New Issue
Block a user