-
Notifications
You must be signed in to change notification settings - Fork 40
Replies: 1 comment · 7 replies
-
Does it work if you send TdApi.LogOut() instead? |
Beta Was this translation helpful? Give feedback.
All reactions
-
@cavallium I might need some help here. I switched to The flow is the following:
It looks like after
Could you please confirm? I can share full project example later, if you need. |
Beta Was this translation helpful? Give feedback.
All reactions
-
the clientFactory can be used with multiple clients, it's strange that it does not allow you to re-create a client. |
Beta Was this translation helpful? Give feedback.
All reactions
-
Here is my project: https://github.com/yvasyliev/telegram-dynamic-profile-photo/tree/soring-boot-migration It's a Spring Boot projects that runs Telegram client and Telegram bot in parallel. All client interactions go through bot. To reproduce my issue:
After these actions re-initialized Please ignore |
Beta Was this translation helpful? Give feedback.
All reactions
-
Hi, unfortunately I never tried to change/cancel an authentication method, maybe you should ask in TDLib chat to Levlam: https://t.me/tdlibchat (tdlib API is identical to tdlight). |
Beta Was this translation helpful? Give feedback.
All reactions
-
I've got the same suggestion from If I create new
It means that I'm still using old TdLib instance, although I tried to create new instance of Take a look at console logs:
I tried to call @cavallium I updated my project, could you please check once? |
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
Let's say the user decided not to enter the password after QR code scan.
How to cancel current
AuthorizationStateWaitPassword
state?If I restart the app, I'll get
AuthorizationStateWaitPassword
state right from the startup.I can write some kind of hook that deletes session directory, and then I'll get
AuthorizationStateWaitOtherDeviceConfirmation
state, but is there a better variant?Beta Was this translation helpful? Give feedback.
All reactions