From d392633b90a54d150dad4363d4982d1666463e6a Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 17 Mar 2021 20:04:38 +0400 Subject: [PATCH] Send speaking typings in channels. --- Telegram/SourceFiles/api/api_send_progress.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/api/api_send_progress.cpp b/Telegram/SourceFiles/api/api_send_progress.cpp index c3436f7ab..563262a5b 100644 --- a/Telegram/SourceFiles/api/api_send_progress.cpp +++ b/Telegram/SourceFiles/api/api_send_progress.cpp @@ -65,7 +65,10 @@ void SendProgressManager::update( SendProgressType type, int progress) { const auto peer = history->peer; - if (peer->isSelf() || (peer->isChannel() && !peer->isMegagroup())) { + if (peer->isSelf() + || (peer->isChannel() + && !peer->isMegagroup() + && type != SendProgressType::Speaking)) { return; }