sochix / TLSharp

Telegram client library implemented in C#
1.01k stars 380 forks source link

IsConnected now includes a check on sender==null. #927

Closed solarin closed 4 years ago

solarin commented 4 years ago

Otherwise callls to this method always return True and if(!TelegramClient.IsConnected) TelegramClient.ConnectAsync() wouldn't have the expected result.

knocte commented 4 years ago

hey @salarcode sorry to bother you, but as you implemented this IsConnected property, I thought you might be interested in reviewing this PR? thanks in advance

solarin commented 4 years ago

moved to #931