2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-05 00:46:08 +00:00

Fix saved messages tags search.

This commit is contained in:
John Preston
2024-05-20 17:38:18 +04:00
parent fce520c9c0
commit 42d53e5543
4 changed files with 42 additions and 26 deletions

View File

@@ -1282,7 +1282,8 @@ void Widget::updateSearchTabs() {
&& !_searchingHashtag)) {
_searchState.tab = _searchState.inChat.topic()
? ChatSearchTab::ThisTopic
: _searchState.inChat.owningHistory()
: (_searchState.inChat.owningHistory()
|| _searchState.inChat.sublist())
? ChatSearchTab::ThisPeer
: ChatSearchTab::MyMessages;
}