1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-11 17:00:00 +01:00
This commit is contained in:
Daniil Gentili 2024-06-27 18:26:14 +02:00 committed by Alexander Pankratov
parent f4a7177a06
commit 6fc8e0668d

View File

@ -121,8 +121,7 @@ final class Wrapper extends ClientAbstract
}
$ids = [];
foreach (get_class_methods($callback) as $method) {
//$id = $this->id++;
$id = $this->id++.'_'.$method;
$id = $this->id++;
$this->callbacks[$id] = [$callback, $method];
$ids[$method] = $id;
}