1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-30 09:58:59 +01:00

Do not print Connected alerts

This commit is contained in:
Daniil Gentili 2023-01-22 17:52:44 +01:00
parent ae8e5308f4
commit 5e36b1c57a
2 changed files with 1 additions and 2 deletions

View File

@ -244,7 +244,7 @@ final class API extends InternalDoc
};
EventLoop::queue($cb);
$this->connectToMadelineProto(new SettingsEmpty, true);
$cancel->error(new Exception('Connected!'));
$cancel->complete(new Exception('Connected!'));
}
return true;
}

View File

@ -120,7 +120,6 @@ abstract class SqlArray extends DriverArray
'value' => $this->setValue($value),
],
);
//Assert::greaterThanEq($result->getRowCount(), 1);
$this->setCache($key, $value);
}