mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 06:59:01 +01:00
Fixup
This commit is contained in:
parent
ad753e7229
commit
6de83465e1
@ -292,7 +292,7 @@ trait ResponseHandler
|
||||
$response['error_code'] = 500;
|
||||
}
|
||||
if (str_starts_with($response['error_message'], 'FILE_REFERENCE_')
|
||||
&& $request->shouldRefreshReferences()
|
||||
&& !$request->shouldRefreshReferences()
|
||||
) {
|
||||
$this->API->logger("Got {$response['error_message']}, refreshing file reference and repeating method call...");
|
||||
$this->gotResponseForOutgoingMessage($request);
|
||||
|
Loading…
Reference in New Issue
Block a user