mirror of
https://github.com/sochix/TLSharp.git
synced 2026-03-03 20:13:50 +01:00
minor changes
This commit is contained in:
parent
afd6d06252
commit
0dd6fdbac7
|
|
@ -28,7 +28,7 @@ namespace TLSharp.Core.Network
|
|||
ipAddress = IPAddress.Parse(address);
|
||||
}
|
||||
|
||||
public async Task Connect()
|
||||
public async Task ConnectAsync()
|
||||
{
|
||||
if (handler == null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ namespace TLSharp.Core
|
|||
// we must recreate the session because it might track dirty information
|
||||
// of a connection that maybe was disconnected, reusing that session will cause errors
|
||||
session = Session.TryLoadOrCreateNew(store, sessionUserId);
|
||||
await transport.Connect();
|
||||
await transport.ConnectAsync();
|
||||
}
|
||||
|
||||
if (session.AuthKey == null || reconnect)
|
||||
|
|
|
|||
Loading…
Reference in a new issue