From b09aa49749da36dc13a55ecc399764205c0132a1 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 13 Mar 2016 16:25:19 +0300 Subject: [PATCH] not sending typing when edit post is finished --- Telegram/SourceFiles/historywidget.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Telegram/SourceFiles/historywidget.cpp b/Telegram/SourceFiles/historywidget.cpp index 4d5dc0db9..1a6e8e947 100644 --- a/Telegram/SourceFiles/historywidget.cpp +++ b/Telegram/SourceFiles/historywidget.cpp @@ -7228,7 +7228,11 @@ void HistoryWidget::cancelEdit() { updateMouseTracking(); } + int32 old = _textUpdateEventsFlags; + _textUpdateEventsFlags = 0; onTextChange(); + _textUpdateEventsFlags = old; + updateBotKeyboard(); updateFieldPlaceholder();