mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-08 04:34:05 +00:00
fix: TLL messages destruction
https://github.com/AyuGram/AyuGramDesktop/pull/384 https://github.com/AyuGram/AyuGramDesktop/issues/300
This commit is contained in:
@@ -2904,9 +2904,6 @@ void Session::checkTTLs() {
|
||||
|
||||
auto itemsToProcess = toBeRemoved | ranges::to_vector;
|
||||
for (const auto &item : itemsToProcess) {
|
||||
// remove message from `_ttlMessages` to avoid calling this method infinitely
|
||||
item->applyTTL(0);
|
||||
|
||||
processMessageDelete(item);
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user