Merge branch 'master' of github.com:danog/MadelineProto
This commit is contained in:
commit
425ba50ba5
@ -316,7 +316,7 @@ trait ResponseHandler
|
|||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function handleReject(array &$request, \Throwable $data)
|
public function handleReject(&$request, \Throwable $data)
|
||||||
{
|
{
|
||||||
if (isset($request['promise']) && \is_object($request['promise'])) {
|
if (isset($request['promise']) && \is_object($request['promise'])) {
|
||||||
Loop::defer(function () use (&$request, $data) {
|
Loop::defer(function () use (&$request, $data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user