knadh / tg-archive

A tool for exporting Telegram group chats into static websites like mailing list archives.
MIT License
829 stars 121 forks source link

Fix/detect group posts #125

Closed harduino closed 1 month ago

harduino commented 7 months ago

App didn't save "special" posts when admins can talk from "group's name", because Telegram's API returns empty 'sender' field. Because of that a lot of important messages could be lost. I've found solution and added fix as config-option, so such solution can be disabled if required. As a bonus I've added fix for private groups, when user joined by invite-link, so there was "None" message when it should be "User joined by invite link".

This PR will resolve that issue: https://github.com/knadh/tg-archive/issues/54

knadh commented 7 months ago

Thanks for the PR @harduino. I think saving and rendering group posts by default would be the desired behaviour. Let's remove the config option and make it default behaviour?

harduino commented 7 months ago

Thanks for the PR @harduino. I think saving and rendering group posts by default would be the desired behaviour. Let's remove the config option and make it default behaviour?

Done.

knadh commented 1 month ago

Released as v1.2.0. Thanks @harduino and apologies for losing track of this PR.