From 0dcd3d9c43d13715021ee4c0a9a7676d32f46027 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Tue, 27 Mar 2018 22:46:06 +0000 Subject: [PATCH] Extract chat ID from service messages --- src/danog/MadelineProto/MTProtoTools/PeerHandler.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/danog/MadelineProto/MTProtoTools/PeerHandler.php b/src/danog/MadelineProto/MTProtoTools/PeerHandler.php index 4d5a249a9..e7dbf5dc4 100644 --- a/src/danog/MadelineProto/MTProtoTools/PeerHandler.php +++ b/src/danog/MadelineProto/MTProtoTools/PeerHandler.php @@ -256,6 +256,7 @@ trait PeerHandler $id = $this->to_supergroup($id['channel_id']); break; case 'message': + case 'messageService': if (!isset($id['from_id']) || $id['to_id']['_'] !== 'peerUser' || $id['to_id']['user_id'] !== $this->authorization['user']['id']) { return $this->get_info($id['to_id']); }