mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-01 07:05:13 +00:00
Fix of search by hashtag
This commit is contained in:
@@ -152,6 +152,13 @@ void activateBotCommand(
|
|||||||
}
|
}
|
||||||
|
|
||||||
void searchByHashtag(const QString &tag, PeerData *inPeer) {
|
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()) {
|
if (const auto m = App::main()) {
|
||||||
Ui::hideSettingsAndLayer();
|
Ui::hideSettingsAndLayer();
|
||||||
Core::App().hideMediaView();
|
Core::App().hideMediaView();
|
||||||
|
Reference in New Issue
Block a user