Open VectorASD opened 5 months ago
Found a solution: https://github.com/telegramdesktop/tdesktop/blob/6c0ea0eb9f666fce471ed32efe0e83d9c62aba48/Telegram/SourceFiles/storage/storage_account.cpp#L94-L96 Here you can also find out how telegram reads record data
Describe the bug Parsing the innards of TDesktop revealed that there is one single account, but its isLoaded = false. Digging deeper, it turned out that the error TDataReadMapDataFailed: Unknown key type in encrypted map: 25 [ Called by BaseObject.MapData.read() ] inside the readMapWith function of the accaunt class.
Expected behavior TDesktop ended without exceptions.
Screenshots
Additional context Telegram Desktop is working, so the 25-type key is not a lie.