This commit is contained in:
Daniil Gentili 2019-06-02 12:04:34 +02:00
parent bb8bf4a048
commit 9317a9feed

View File

@ -30,7 +30,7 @@ class CombinedUpdatesState
if (!is_array($init)) { if (!is_array($init)) {
return; return;
} }
$this->states[$channel] = new UpdatesState(); $this->states[false] = new UpdatesState();
foreach ($init as $channel => $state) { foreach ($init as $channel => $state) {
if (is_array($state)) { if (is_array($state)) {
$state = new UpdatesState($state, $channel); $state = new UpdatesState($state, $channel);