mirror of
https://github.com/danog/MadelineProto.git
synced 2025-01-23 04:31:12 +01:00
Fix small bug
This commit is contained in:
parent
61e4d677ca
commit
68cf938ea0
@ -1002,12 +1002,10 @@ final class MTProto implements TLCallback, LoggerGetter
|
||||
*/
|
||||
private function cleanupProperties(): void
|
||||
{
|
||||
if (!isset($this->datacenter)) {
|
||||
$this->datacenter ??= new DataCenter($this, $this->dcList, $this->settings->getConnection());
|
||||
}
|
||||
if (!isset($this->snitch)) {
|
||||
$this->snitch = new Snitch;
|
||||
}
|
||||
$this->channels_state ??= new CombinedUpdatesState;
|
||||
$this->datacenter ??= new DataCenter($this, $this->dcList, $this->settings->getConnection());
|
||||
$this->snitch ??= new Snitch;
|
||||
|
||||
$db = [];
|
||||
if (!isset($this->referenceDatabase)) {
|
||||
$this->referenceDatabase = new ReferenceDatabase($this);
|
||||
|
Loading…
x
Reference in New Issue
Block a user