mirror of
https://github.com/sochix/TLSharp.git
synced 2025-12-06 08:02:00 +01:00
Core: don't consider MediaOnly DCs at reconnect
Fixes https://github.com/sochix/TLSharp/issues/935
This commit is contained in:
parent
34c5a106df
commit
205b6d588c
|
|
@ -121,6 +121,8 @@ namespace TLSharp.Core
|
||||||
else
|
else
|
||||||
dcs = dcOptions.Where(d => d.Id == dcId); // any
|
dcs = dcOptions.Where(d => d.Id == dcId); // any
|
||||||
|
|
||||||
|
dcs = dcs.Where(d => !d.MediaOnly);
|
||||||
|
|
||||||
TLDcOption dc;
|
TLDcOption dc;
|
||||||
if (dcIpVersion != DataCenterIPVersion.Default)
|
if (dcIpVersion != DataCenterIPVersion.Default)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue