mirror of
https://github.com/danog/MadelineProto.git
synced 2024-11-26 20:54:42 +01:00
Small fix
This commit is contained in:
parent
776fafb0d1
commit
486c81cc29
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user