minor improvements

This commit is contained in:
Wizou 2021-09-23 09:42:35 +02:00
parent f1ebafcf09
commit 0b3180917f
2 changed files with 3 additions and 2 deletions

View file

@ -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;

View file

@ -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;