Send speaking typings in channels.

This commit is contained in:
John Preston 2021-03-17 20:04:38 +04:00
parent 76e08af26a
commit d392633b90
1 changed files with 4 additions and 1 deletions

View File

@ -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;
}