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