From 2d856f48b71d5929a389dbf8e2c52a84d4433f11 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 8 May 2022 05:51:18 +0000 Subject: [PATCH] Use the default timeout --- src/Model/Contact.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Contact.php b/src/Model/Contact.php index f034ca69ad..834988043d 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -2102,7 +2102,7 @@ class Contact $filename = substr($guid, 0, 2) . '/' . substr($guid, 3, 2) . '/' . substr($guid, 5, 3) . '/' . substr($guid, 9, 2) .'/' . substr($guid, 11, 2) . '/' . substr($guid, 13, 4). '/' . substr($guid, 18) . '-'; - $fetchResult = HTTPSignature::fetchRaw($avatar, 0, [HttpClientOptions::ACCEPT_CONTENT => [HttpClientAccept::IMAGE], 'timeout' => 10]); + $fetchResult = HTTPSignature::fetchRaw($avatar, 0, [HttpClientOptions::ACCEPT_CONTENT => [HttpClientAccept::IMAGE]]); $img_str = $fetchResult->getBody(); if (empty($img_str)) { return $fields; -- 2.39.5