Open giomasce opened 8 years ago
It's hard to tell what causes this from this data alone (the surrounding messages could help), but since you opened this issue I thought that it was probably because of my workaround for vysheng/tg#1077. I did some digging in the telegram-cli code, and based on my findings I developed a new workaround that should be more reliable, which is now on master.
It now seems to be working correctly. I'll let my script run for a few days and then I'll confirm. Thanks.
The tool is working great, except for a small bug: for some chats at every execution of
telegram-history-dump
the last message is added again to thejsonl
file (and therefore to the other formatters). For example:At each execution, another similar row will be added to the top of the file. It happens with just a few chats, maybe one or two of the dozens I have. I cannot see any patter: I used to think that only happened when the last message was an attachment, but the example above disproves that.