mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-27 07:52:09 +00:00
feat: per-account ghost & lock ghost features & refactor
This commit is contained in:
@@ -118,8 +118,8 @@ void SendProgressManager::send(const Key &key, int progress) {
|
||||
}
|
||||
|
||||
// AyuGram sendUploadProgress
|
||||
const auto &settings = AyuSettings::getInstance();
|
||||
if (!settings.sendUploadProgress)
|
||||
const auto &ghost = AyuSettings::ghost(_session);
|
||||
if (!ghost.sendUploadProgress())
|
||||
{
|
||||
DEBUG_LOG(("[AyuGram] Don't send upload progress"));
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user