feat: per-account ghost & lock ghost features & refactor

This commit is contained in:
AlexeyZavar
2026-02-04 02:20:12 +03:00
parent 4107597a3a
commit b6d19149d9
110 changed files with 2482 additions and 2657 deletions
@@ -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;