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
+2 -2
View File
@@ -175,8 +175,8 @@ void Polls::sendVotes(
hideSending();
_session->updates().applyUpdates(result);
const auto &settings = AyuSettings::getInstance();
if (!settings.sendReadMessages && settings.markReadAfterAction && item)
const auto &ghost = AyuSettings::ghost(_session);
if (!ghost.sendReadMessages() && ghost.markReadAfterAction() && item)
{
readHistory(item);
}