mirror of
https://github.com/openvk/openvk
synced 2024-11-11 01:19:53 +03:00
Fix typo
This commit is contained in:
parent
05b7061471
commit
ba16cf7090
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ final class Messages extends VKAPIRequestHandler
|
|||
{
|
||||
$this->requireUser();
|
||||
|
||||
if($user_id = $this->resolvePeer($user_id, $peer_id))
|
||||
if(is_null($user_id = $this->resolvePeer($user_id, $peer_id)))
|
||||
$this->fail(-151, "Chats are not implemented");
|
||||
|
||||
$peer = (new USRRepo)->get($user_id);
|
||||
|
|
Loading…
Reference in a new issue