Skip to content
This repository has been archived by the owner on Dec 5, 2021. It is now read-only.

address an issue with the datacenter selection... #938

Merged
merged 1 commit into from
Apr 11, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions TLSharp.Core/TelegramClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ public TelegramClient(int apiId, string apiHash,
else
dcs = dcOptions.Where(d => d.Id == dcId); // any

dcs = dcs.Where(d => !d.MediaOnly);

TLDcOption dc;
if (dcIpVersion != DataCenterIPVersion.Default)
{
Expand Down