Re-enable tags in Saved Messages.

This commit is contained in:
John Preston 2024-01-25 17:55:51 +04:00
parent ded2015dc2
commit 87c1329490
2 changed files with 2 additions and 5 deletions

View file

@ -2986,9 +2986,7 @@ void InnerWidget::searchInChat(
if (peer->isSelf()) {
const auto reactions = &peer->owner().reactions();
const auto list = [=] {
// Disable reactions as tags for now.
//return reactions->list(Data::Reactions::Type::MyTags);
return std::vector<Data::Reaction>();
return reactions->list(Data::Reactions::Type::MyTags);
};
_searchTags = std::make_unique<SearchTags>(
&peer->owner(),

View file

@ -2481,8 +2481,7 @@ const std::vector<Data::MessageReaction> &HistoryItem::reactions() const {
}
bool HistoryItem::reactionsAreTags() const {
// Disable reactions as tags for now.
return false;// _flags & MessageFlag::ReactionsAreTags;
return _flags & MessageFlag::ReactionsAreTags;
}
auto HistoryItem::recentReactions() const