mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Re-enable tags in Saved Messages.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user