mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-02 18:21:53 +00:00
chore: refactor & reformat settings
This commit is contained in:
@@ -998,7 +998,7 @@ void Updates::updateOnline(crl::time lastNonIdleTime, bool gotOtherOffline) {
|
||||
});
|
||||
|
||||
// AyuGram sendOnlinePackets
|
||||
const auto& settings = AyuSettings::getInstance();
|
||||
const auto &settings = AyuSettings::getInstance();
|
||||
const auto& config = _session->serverConfig();
|
||||
bool isOnlineOrig = Core::App().hasActiveWindow(&session());
|
||||
bool isOnline = settings.sendOnlinePackets && isOnlineOrig;
|
||||
|
||||
Reference in New Issue
Block a user