Just update callbacks

This commit is contained in:
Daniil Gentili 2019-09-03 19:10:39 +02:00
parent 1ba3258581
commit 75945704dd

View File

@ -484,7 +484,7 @@ class MTProto extends AsyncConstruct implements TLCallback
private function cleanup() private function cleanup()
{ {
$this->referenceDatabase = new ReferenceDatabase($this); $this->referenceDatabase = new ReferenceDatabase($this);
$this->construct_TL($this->settings['tl_schema']['src'], [$this, $this->referenceDatabase]); $this->update_callbacks([$this, $this->referenceDatabase]);
return $this; return $this;
} }