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
9a6e391cae
|
|
@ -121,6 +121,8 @@ namespace TLSharp.Core
|
|||
else
|
||||
dcs = dcOptions.Where(d => d.Id == dcId); // any
|
||||
|
||||
dcs = dcs.Where(d => !d.MediaOnly);
|
||||
|
||||
TLDcOption dc;
|
||||
if (dcIpVersion != DataCenterIPVersion.Default)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue