diff --git a/docs b/docs index c60f59ff..8f6784ad 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit c60f59ffe2ee74d6fb50cd96651e4ae234dbb6ea +Subproject commit 8f6784adf5bca1dbab98ba1ec69ab52050633ca1 diff --git a/src/danog/MadelineProto/MTProto.php b/src/danog/MadelineProto/MTProto.php index 8196ba6d..fab01543 100644 --- a/src/danog/MadelineProto/MTProto.php +++ b/src/danog/MadelineProto/MTProto.php @@ -691,6 +691,9 @@ class MTProto extends AsyncConstruct implements TLCallback } } foreach ($settings['connection_settings'] as $key => &$connection) { + if (\in_array($key, ['default_dc', 'media_socket_count', 'robin_period'])) { + continue; + } if (!\is_array($connection)) { unset($settings['connection_settings'][$key]); continue;