bugfix (#680)
This commit is contained in:
parent
92fb0c95de
commit
e1100b3fc6
@ -364,7 +364,7 @@ class ReferenceDatabase implements TLCallback
|
||||
$body = $data['body'];
|
||||
switch ($data['_']) {
|
||||
case 'photos.updateProfilePhoto':
|
||||
$origin['max_id'] = $res['photo_id'];
|
||||
$origin['max_id'] = $res['photo_id'] ?? 0;
|
||||
$origin['offset'] = -1;
|
||||
$origin['limit'] = 1;
|
||||
$origin['user_id'] = $this->API->authorization['user']['id'];
|
||||
|
Loading…
Reference in New Issue
Block a user