Prepare ttl-media release.

This commit is contained in:
John Preston 2024-01-16 11:56:08 +04:00
parent 6f64fea0b1
commit 93a734eecf
2 changed files with 5 additions and 2 deletions

View file

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

View file

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