Closed ztdan4ik closed 6 years ago
In fact, this error can be ignored and has no bad consequnces. The client was successfully logged out, but server has returned error for the corresponding request. It is just a remainder for us that server behavior on logging out can be improved.
Error in updates.getDifference is also expected, so I will just silence it.
Oh... Ok, thanks! Now I can be quiet about this.
And one more question: As you see I'm using test dc env for developing application. Now, when I'm trying login with already registered account I always getting a code type "authenticationCodeTypeTelegramMessage" even tho I don't have authorized clients at this time. I feel like some Client instances before I didn't logout properly and just shut it down... Can be problem with this? How can I logout from all devices? I did't find any methods for this option.
Thanks again.
You can get list of active sessions through getActiveSessions
method one day after a successful authorization and terminate them through terminateSession
. Or you can just call terminateAllOtherSessions
(you will still need to wait a day for security purposes).
Thanks for your time! Great job!
Hi all!
I'm working with tdlib in php env. I have a problem with auth.logOut
What i'm doing
And after that I got an error Responses
And then errors
Again responses
Looks like it has logged out. But what is the problem with error?
Many thanks for your time.