We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9925e2a commit 9c3b9fcCopy full SHA for 9c3b9fc
1 file changed
src/MTProtoSession/ResponseHandler.php
@@ -298,6 +298,7 @@ private function handleRpcError(MTProtoOutgoingMessage $request, array $response
298
&& !$request->shouldRefreshReferences()
299
) {
300
$this->API->logger("Got {$response['error_message']}, refreshing file reference and repeating method call...");
301
+ $request->setRefreshReferences(true);
302
$this->methodRecall($request, $this->datacenter);
303
return null;
304
}
0 commit comments