mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-30 10:38:59 +01:00
Init default update state if not present
This commit is contained in:
parent
31fb37d39c
commit
1397842c86
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit d9adbbb25c3edb2bd076500562040249742644a4
|
||||
Subproject commit aa2c729ab58df6fd79753083bc3c5930d006efce
|
@ -994,6 +994,7 @@ class MTProto extends AsyncConstruct implements TLCallback
|
||||
if (!isset($this->seqUpdater)) {
|
||||
$this->seqUpdater = new SeqLoop($this);
|
||||
}
|
||||
$this->channels_state->get(false);
|
||||
$channelIds = [];
|
||||
foreach ($this->channels_state->get() as $state) {
|
||||
$channelIds[] = $state->getChannel();
|
||||
|
Loading…
Reference in New Issue
Block a user