fix: message shot reactions

This commit is contained in:
AlexeyZavar 2024-08-18 02:08:43 +03:00
parent 99cabdcd4c
commit 95b3df10b2

View file

@ -2646,7 +2646,7 @@ const std::vector<Data::MessageReaction> &HistoryItem::reactions() const {
} }
std::vector<Data::MessageReaction> HistoryItem::reactionsWithLocal() const { std::vector<Data::MessageReaction> HistoryItem::reactionsWithLocal() const {
if (!_reactions) { if (!_reactions || AyuFeatures::MessageShot::ignoreRender(AyuFeatures::MessageShot::RenderPart::Reactions)) {
return {}; return {};
} }
auto result = _reactions->list(); auto result = _reactions->list();