mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-05 03:14:28 +00:00
fix: invalidate message filtered status on edit
This commit is contained in:
@@ -86,6 +86,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
||||
// AyuGram includes
|
||||
#include "ayu/ayu_settings.h"
|
||||
#include "ayu/data/messages_storage.h"
|
||||
#include "ayu/features/filters/filters_controller.h"
|
||||
#include "ayu/utils/telegram_helpers.h"
|
||||
|
||||
|
||||
@@ -2680,6 +2681,8 @@ void Session::updateEditedMessage(const MTPMessage &data) {
|
||||
AyuMessages::addEditedMessage(existing);
|
||||
}
|
||||
|
||||
FiltersController::invalidate(existing);
|
||||
|
||||
proceed:
|
||||
|
||||
if (existing->isLocalUpdateMedia() && data.type() == mtpc_message) {
|
||||
|
||||
Reference in New Issue
Block a user