mirror of
https://github.com/sochix/TLSharp.git
synced 2026-05-07 13:37:50 +00:00
minor changes
This commit is contained in:
parent
afd6d06252
commit
0dd6fdbac7
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue