TelegramStorageParser icon indicating copy to clipboard operation
TelegramStorageParser copied to clipboard

Can`t parse new desktop storage after last update

Open mr-tron opened this issue 6 years ago • 7 comments

I added

                default:
                    Console.WriteLine(storageKey);
                    return false;

to src/TelegramStorageParser/TelegramDesktop/Map.cs:144

and got ouput of example program:

165804707
Something went wrong: InvalidData

mr-tron avatar Oct 22 '18 17:10 mr-tron

You have to advance the 'stream' by the right amount of bytes (that's figured out by looking at the local_storage.cpp of the official client).

I'll update the library tomorrow.

MihaZupan avatar Oct 22 '18 17:10 MihaZupan

@mr-tron Out of curiosity, what's your use case for the library?

MihaZupan avatar Oct 22 '18 17:10 MihaZupan

background controllable cacher for client. for me it`s easier than edit client on c++

mr-tron avatar Oct 22 '18 18:10 mr-tron

Turns out the storage for images was redesigned in the last several updates and they are now located in a different folder architecture. It'll take me a bit longer to dif through all of it tho.

MihaZupan avatar Oct 23 '18 18:10 MihaZupan

@MihaZupan Is this project entirely dead or will there be some update to it? I made an attempt at updating it myself but my knowledge appears to be lacking

faejr avatar May 27 '19 09:05 faejr

I might revisit it during the holidays but currently I don't have the spare time to look through all TelegramDesktop source changes.

MihaZupan avatar May 27 '19 09:05 MihaZupan

Thanks for the update

faejr avatar May 27 '19 09:05 faejr