mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
feat: simplify markReadAfterAction
This commit is contained in:
@@ -160,7 +160,7 @@ void Polls::sendVotes(
|
||||
_session->updates().applyUpdates(result);
|
||||
|
||||
const auto settings = &AyuSettings::getInstance();
|
||||
if (!settings->sendReadMessages && settings->markReadAfterPoll && item)
|
||||
if (!settings->sendReadMessages && settings->markReadAfterAction && item)
|
||||
{
|
||||
readHistory(item);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user