mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix draft clearing on message send.
Regression was introduced in caef7dde24
.
This commit is contained in:
@@ -114,6 +114,7 @@ void activateBotCommand(
|
||||
Ui::show(Box<ConfirmBox>(tr::lng_bot_share_phone(tr::now), tr::lng_bot_share_phone_confirm(tr::now), [=] {
|
||||
Ui::showPeerHistory(history, ShowAtTheEndMsgId);
|
||||
auto action = Api::SendAction(history);
|
||||
action.clearDraft = false;
|
||||
action.replyTo = msgId;
|
||||
history->session().api().shareContact(
|
||||
history->session().user(),
|
||||
|
Reference in New Issue
Block a user