mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Make "HTTPRequest::fetchUrlFull" dynamic
This commit is contained in:
parent
20056dc795
commit
fed6e3cde1
2 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,7 @@ function mailstream_do_images($a, &$item, &$attachments) {
|
|||
continue;
|
||||
}
|
||||
$cookiejar = tempnam(get_temppath(), 'cookiejar-mailstream-');
|
||||
$curlResult = HTTPRequest::fetchUrlFull($url, true, 0, '', $cookiejar);
|
||||
$curlResult = DI::httpRequest()->fetchUrlFull($url, true, 0, '', $cookiejar);
|
||||
$attachments[$url] = [
|
||||
'data' => $curlResult->getBody(),
|
||||
'guid' => hash("crc32", $url),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue