This commit is contained in:
giuseppeM99 2017-07-01 21:36:53 +02:00 committed by Daniil Gentili
parent d1bed9e6a0
commit 671b995205

View File

@ -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];
}
}