2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 23:45:44 +00:00

Fix saved tag click in separate window messages.

This commit is contained in:
John Preston
2024-01-30 13:04:46 +04:00
parent 39b80c98c7
commit 3421b656db
7 changed files with 61 additions and 33 deletions

View File

@@ -2666,7 +2666,7 @@ bool Widget::setSearchInChat(
}
_searchTags = std::move(tags);
_inner->searchInChat(_searchInChat, _searchFromAuthor, _searchTags);
_searchTagsLifetime = _inner->searchTagsValue(
_searchTagsLifetime = _inner->searchTagsChanges(
) | rpl::start_with_next([=](std::vector<Data::ReactionId> &&list) {
if (_searchTags != list) {
clearSearchCache();