Telega icon indicating copy to clipboard operation
Telega copied to clipboard

Session file invalid

Open yunzhiyan opened this issue 3 years ago • 1 comments

When my session file fails, how can I judge it and retrieve authentication?

yunzhiyan avatar Apr 13 '22 13:04 yunzhiyan

The default session store overwrites the session file using a backup. So the session should not be corrupted. It can be staled however. One example is low SeqNo. The client attempts to repeat a request a few times incrementing SeqNo. Usually it is enough. Serialization logic can be found here. It can be changed in the future.

ilyalatt avatar Apr 15 '22 15:04 ilyalatt