Skip to content

Commit

Permalink
Disable update checker on Flatpak (#3051)
Browse files Browse the repository at this point in the history
Co-authored-by: Felanbird <41973452+Felanbird@users.noreply.github.com>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
  • Loading branch information
3 people committed Jul 24, 2021
1 parent 706605c commit b8bd0a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions src/singletons/Updates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit b8bd0a5

Please sign in to comment.