mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 23:53:58 +02:00
Prepare ttl-media release.
This commit is contained in:
parent
6f64fea0b1
commit
93a734eecf
2 changed files with 5 additions and 2 deletions
|
@ -2986,7 +2986,9 @@ 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 = [=] {
|
||||||
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>(
|
_searchTags = std::make_unique<SearchTags>(
|
||||||
&peer->owner(),
|
&peer->owner(),
|
||||||
|
|
|
@ -2430,7 +2430,8 @@ const std::vector<Data::MessageReaction> &HistoryItem::reactions() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool HistoryItem::reactionsAreTags() const {
|
bool HistoryItem::reactionsAreTags() const {
|
||||||
return _flags & MessageFlag::ReactionsAreTags;
|
// Disable reactions as tags for now.
|
||||||
|
return false;// _flags & MessageFlag::ReactionsAreTags;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto HistoryItem::recentReactions() const
|
auto HistoryItem::recentReactions() const
|
||||||
|
|
Loading…
Add table
Reference in a new issue