mirror of
https://github.com/danog/tg-file-decoder.git
synced 2024-11-26 12:24:40 +01:00
Fix assignment of url from internalDecode
This commit is contained in:
parent
336d0bd69f
commit
b51750a29e
@ -132,7 +132,7 @@ class FileId
|
||||
$result->setFileReference($resultArray['fileReference']);
|
||||
}
|
||||
if ($resultArray['hasWebLocation']) {
|
||||
$result->setUrl($resultArray['webLocation']);
|
||||
$result->setUrl($resultArray['url']);
|
||||
return $result;
|
||||
}
|
||||
$result->setId($resultArray['id']);
|
||||
|
Loading…
Reference in New Issue
Block a user