diff --git a/pkg/connector/client.go b/pkg/connector/client.go index 83fba889..88725d43 100644 --- a/pkg/connector/client.go +++ b/pkg/connector/client.go @@ -655,7 +655,7 @@ func (t *TelegramClient) getUserInfoFromTelegramUser(ctx context.Context, u tg.U } func (t *TelegramClient) IsLoggedIn() bool { - if t == nil { + if t == nil || t.clientCtx == nil { return false } select {