forkgram / TelegramAndroid

Fork client of Telegram app for Android.
GNU General Public License v2.0
697 stars 38 forks source link

[Feature request] Clear history on account level #92

Open ghost opened 2 years ago

ghost commented 2 years ago

Hi there,

I am just thinking out loud but it would be awesome to have an option to delete history every XYZ days/months for myself and/or participants on account level. That would mean that I can configure Forkgram to clear history and that would be executed automatically for all existing and new chats.

Right now that is possible manually and you need to set up that per chat participant. I was hoping Telegram would implement this upstream but that never materialised so...

23rd commented 2 years ago
  1. As far as I could see the auto-delete feature is not so cheap for the server, so often requests will failed with the flood error.

  2. I believe such unusual and very specific features should not be implemented in clients. I think it can be easily done with non-UI frameworks such pyrogram. You can try your luck and ask someone in the discussion telegram group of this framework to write a simple python script for your feature request.

ghost commented 2 years ago

@23rd thank you for the answers, i really do appreciate them. Allow me to continue discussion on the matter, it might give some insights why i suggested this : )

  1. As far as I could see the auto-delete feature is not so cheap for the server, so often requests will failed with the flood error.

That is a good angle from administration perspective and i am glad that you mentioned this! My goal is not to be agressive and just request something here and now. I believe that caching/queuing requests might help. Also, this action could be delayed to prevent bursts as well so there are some ways to keep it on the down-low for server and to allow user to achieve what I wrote in the first post.

  1. I believe such unusual and very specific features should not be implemented in clients. While this could be solved using 3rd party frameworks/libraries, we are missing out the point of digital hygiene here. Let us face it: many do not care about it and one part cannot even fathom that digital hygiene exists and should be a real part of our lives. With that being said, this would probably not be used by many however it might help Forkgram to elevate its presence as an alternative which could help users.

After all, this is just a feature request and i understand it can be rejected as something not worth implementing. I will look into pyrogram (thanks!) however since my python coding skills are equivalent to building spaceships, it might take a while to materialise something : )