2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Fix webview switch_inline to the same chat.

This commit is contained in:
John Preston
2023-03-08 16:48:23 +04:00
parent 05ffc79539
commit de9a757e7a
6 changed files with 40 additions and 50 deletions

View File

@@ -379,10 +379,14 @@ public:
void setCurrentDialogsEntryState(Dialogs::EntryState state);
[[nodiscard]] Dialogs::EntryState currentDialogsEntryState() const;
void switchInlineQuery(
bool switchInlineQuery(
Dialogs::EntryState to,
not_null<UserData*> bot,
const QString &query);
bool switchInlineQuery(
not_null<Data::Thread*> thread,
not_null<UserData*> bot,
const QString &query);
[[nodiscard]] Dialogs::RowDescriptor resolveChatNext(
Dialogs::RowDescriptor from = {}) const;