mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Re-enable tags in Saved Messages.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user