mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-13 04:37:11 +02:00
Re-enable tags in Saved Messages.
This commit is contained in:
parent
ded2015dc2
commit
87c1329490
2 changed files with 2 additions and 5 deletions
|
@ -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(),
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue