mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +00:00
Fix of search by hashtag
This commit is contained in:
parent
cc52f0fdd6
commit
8f025e1d74
@ -152,6 +152,13 @@ void activateBotCommand(
|
||||
}
|
||||
|
||||
void searchByHashtag(const QString &tag, PeerData *inPeer) {
|
||||
if (const auto window = App::wnd()) {
|
||||
if (const auto controller = window->sessionController()) {
|
||||
if (controller->openedFolder().current()) {
|
||||
controller->closeFolder();
|
||||
}
|
||||
}
|
||||
}
|
||||
if (const auto m = App::main()) {
|
||||
Ui::hideSettingsAndLayer();
|
||||
Core::App().hideMediaView();
|
||||
|
Loading…
x
Reference in New Issue
Block a user