1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 19:04:40 +01:00
This commit is contained in:
Daniil Gentili 2024-04-18 21:32:10 +02:00
parent 94f2727be2
commit 9bd1113b5b
2 changed files with 2 additions and 2 deletions

2
docs

@ -1 +1 @@
Subproject commit d4a28b557679b8511aaae6ab61dd42c9ce9c7f11
Subproject commit 821000468d14f943496b8bbc7183360c83630d6b

View File

@ -488,7 +488,7 @@ final class Connection
if ($res['type'] !== 'chat') {
throw new Exception('chat_id is not a chat id (only normal groups allowed, not supergroups)!');
}
$arguments['chat_id'] = $res['chat_id'];
$arguments['chat_id'] = -$res['chat_id'];
} elseif ($method === 'photos.updateProfilePhoto') {
if (isset($arguments['id'])) {
if (!\is_array($arguments['id'])) {