mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08:00
Populate community hashtag search on first click
Task: 2026/08/03/populate-community-hashtag-search-on-first-click
This commit is contained in:
@@ -4085,9 +4085,10 @@ bool Widget::applySearchState(SearchState state) {
|
||||
return false;
|
||||
}
|
||||
} else if ((folder && folder == _openedFolder)
|
||||
|| (community
|
||||
|| (peer
|
||||
&& _openedCommunity
|
||||
&& community == _openedCommunity->channel())) {
|
||||
&& (!community
|
||||
|| community == _openedCommunity->channel()))) {
|
||||
showSearchInTopBar(anim::type::normal);
|
||||
} else if (peer && (_layout != Layout::Main)) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user