2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Don't switch chats on ctrl+shift+send (support).

This commit is contained in:
John Preston
2018-10-08 17:08:17 +03:00
parent 83919492d3
commit be6e329e94
10 changed files with 101 additions and 40 deletions

View File

@@ -4298,6 +4298,7 @@ void ApiWrap::sendMessage(MessageToSend &&message) {
options.replyTo = message.replyTo;
options.generateLocal = true;
options.webPageId = message.webPageId;
options.handleSupportSwitch = message.handleSupportSwitch;
sendAction(options);
if (!peer->canWrite()) {