1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-11-26 23:14:38 +01:00

Small fix

This commit is contained in:
Daniil Gentili 2023-06-19 02:09:34 +02:00
parent 776fafb0d1
commit 486c81cc29

View File

@ -404,6 +404,7 @@ final class DataCenterConnection implements JsonSerializable
*/
public function flush(): void
{
if (!isset($this->datacenter)) return;
$this->API->logger->logger("Flushing pending messages, DC {$this->datacenter}", Logger::NOTICE);
foreach ($this->connections as $socket) {
$socket->flush();