mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-04 11:00:46 +00:00
feat: per-account ghost & lock ghost features & refactor
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user