mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 06:51:23 +01:00
Layer fix
This commit is contained in:
parent
873035657e
commit
76264ce65f
@ -386,7 +386,7 @@ trait PeerHandler
|
||||
case 'user':
|
||||
return $id['id'];
|
||||
case 'userFull':
|
||||
return $id['user']['id'];
|
||||
return $id['id'];
|
||||
case 'inputPeerUser':
|
||||
case 'inputUser':
|
||||
case 'peerUser':
|
||||
|
@ -250,7 +250,7 @@ class ReferenceDatabase implements TLCallback
|
||||
$origin['max_id'] = $data['profile_photo']['id'];
|
||||
$origin['offset'] = -1;
|
||||
$origin['limit'] = 1;
|
||||
$origin['user_id'] = $data['user']['id'];
|
||||
$origin['user_id'] = $data['id'];
|
||||
break;
|
||||
case 'chatFull':
|
||||
case 'chat':
|
||||
|
Loading…
x
Reference in New Issue
Block a user