Fixes (#144)
This commit is contained in:
parent
d1bed9e6a0
commit
671b995205
@ -53,6 +53,9 @@ class Lua
|
|||||||
$methods[$namespace][$method] = [$this->MadelineProto->{$namespace}, $method];
|
$methods[$namespace][$method] = [$this->MadelineProto->{$namespace}, $method];
|
||||||
}
|
}
|
||||||
foreach ($this->MadelineProto->get_method_namespaces() as $namespace) {
|
foreach ($this->MadelineProto->get_method_namespaces() as $namespace) {
|
||||||
|
if ($namespace === 'upload') {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$this->{$namespace} = $methods[$namespace];
|
$this->{$namespace} = $methods[$namespace];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user