mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-05-30 03:33:55 +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()) {
|
if (peer->isSelf()) {
|
||||||
const auto reactions = &peer->owner().reactions();
|
const auto reactions = &peer->owner().reactions();
|
||||||
const auto list = [=] {
|
const auto list = [=] {
|
||||||
// Disable reactions as tags for now.
|
return reactions->list(Data::Reactions::Type::MyTags);
|
||||||
//return reactions->list(Data::Reactions::Type::MyTags);
|
|
||||||
return std::vector<Data::Reaction>();
|
|
||||||
};
|
};
|
||||||
_searchTags = std::make_unique<SearchTags>(
|
_searchTags = std::make_unique<SearchTags>(
|
||||||
&peer->owner(),
|
&peer->owner(),
|
||||||
|
|
|
@ -2481,8 +2481,7 @@ const std::vector<Data::MessageReaction> &HistoryItem::reactions() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryItem::reactionsAreTags() const {
|
bool HistoryItem::reactionsAreTags() const {
|
||||||
// Disable reactions as tags for now.
|
return _flags & MessageFlag::ReactionsAreTags;
|
||||||
return false;// _flags & MessageFlag::ReactionsAreTags;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
auto HistoryItem::recentReactions() const
|
auto HistoryItem::recentReactions() const
|
||||||
|
|
Loading…
Add table
Reference in a new issue