1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 05:58:58 +01:00

Merge pull request #1557 from ging-dev/action

Ensure actions are broadcasted to the group, not directed to the sender
This commit is contained in:
Daniil Gentili 2024-09-26 20:15:08 +02:00 committed by GitHub
commit da5fe4ba01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -867,7 +867,7 @@ abstract class AbstractMessage extends Update implements SimpleFilters
return $this->getClient()->methodCallAsyncRead( return $this->getClient()->methodCallAsyncRead(
'messages.setTyping', 'messages.setTyping',
[ [
'peer' => $this->senderId, 'peer' => $this->chatId,
'top_msg_id' => $this->topicId, 'top_msg_id' => $this->topicId,
'action' => $action, 'action' => $action,
], ],