Disable update checker on Flatpak (#3051)

Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
ilyazzz 2021-07-24 14:30:21 +03:00 committed by GitHub
parent 706605c99e
commit b8bd0a587d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View file

@ -10,6 +10,7 @@
- Bugfix: Fixed "smiley" emotes being unable to be "Tabbed" with autocompletion, introduced in v2.3.3. (#3010)
- Bugfix: Fixed comma appended to username completion when not at the beginning of the message. (#3060)
- Dev: Ubuntu packages are now available (#2936)
- Dev: Disabled update checker on Flatpak. (#3051)
## 2.3.3

View file

@ -240,6 +240,12 @@ void Updates::checkForUpdates()
return;
}
// Disable updates on Flatpak
if (QFileInfo::exists("/.flatpak-info"))
{
return;
}
// Disable updates if on nightly
if (Modes::instance().isNightly)
{