Backwards compatibility
This commit is contained in:
parent
f63065f1f3
commit
737048c1ae
2
docs
2
docs
@ -1 +1 @@
|
||||
Subproject commit c60f59ffe2ee74d6fb50cd96651e4ae234dbb6ea
|
||||
Subproject commit 8f6784adf5bca1dbab98ba1ec69ab52050633ca1
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user