mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix for using any method automatically triggering checkForUpdate via notification
This commit is contained in:
parent
0dc8ed1a34
commit
ac8b32d239
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue