Skip to content

Commit 9c3b9fc

Browse files
committed
Fix
1 parent 9925e2a commit 9c3b9fc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/MTProtoSession/ResponseHandler.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ private function handleRpcError(MTProtoOutgoingMessage $request, array $response
298298
&& !$request->shouldRefreshReferences()
299299
) {
300300
$this->API->logger("Got {$response['error_message']}, refreshing file reference and repeating method call...");
301+
$request->setRefreshReferences(true);
301302
$this->methodRecall($request, $this->datacenter);
302303
return null;
303304
}

0 commit comments

Comments
 (0)