mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 06:26:44 +00: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue