mirror of
https://github.com/danog/tg-file-decoder.git
synced 2024-11-26 20:34:39 +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']);
|
$result->setFileReference($resultArray['fileReference']);
|
||||||
}
|
}
|
||||||
if ($resultArray['hasWebLocation']) {
|
if ($resultArray['hasWebLocation']) {
|
||||||
$result->setUrl($resultArray['webLocation']);
|
$result->setUrl($resultArray['url']);
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
$result->setId($resultArray['id']);
|
$result->setId($resultArray['id']);
|
||||||
|
Loading…
Reference in New Issue
Block a user