mirror of
https://github.com/wiz0u/WTelegramClient.git
synced 2025-12-06 06:52:01 +01:00
minor improvements
This commit is contained in:
parent
f1ebafcf09
commit
0b3180917f
|
|
@ -162,8 +162,9 @@ namespace WTelegram
|
|||
Helpers.Log(2, $"Connected to {(TLConfig.test_mode ? "Test DC" : "DC")} {TLConfig.this_dc}... {TLConfig.flags & (Config.Flags)~0xE00}");
|
||||
}
|
||||
|
||||
public async Task MigrateDCAsync(int dcId)
|
||||
public async Task MigrateDCAsync(int dcId = 0)
|
||||
{
|
||||
if (dcId == 0) dcId = _session.MainDC;
|
||||
if (DCSession.DataCenter?.id == dcId) return;
|
||||
Helpers.Log(2, $"Migrate to DC {dcId}...");
|
||||
Auth_ExportedAuthorization exported = null;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ using System.Collections.Generic;
|
|||
|
||||
namespace TL
|
||||
{
|
||||
static class Layer
|
||||
public static class Layer
|
||||
{
|
||||
public const int Version = 133; // fetched 17/09/2021 02:47:02
|
||||
internal const uint VectorCtor = 0x1CB5C415;
|
||||
|
|
|
|||
Loading…
Reference in a new issue