oxen-io / session-pysogs

Python implementation of the Session community server
GNU General Public License v3.0
74 stars 33 forks source link

Ban also image/video hash #201

Open slrslr opened 1 year ago

slrslr commented 1 year ago

Hello,

when user posts so bad image that moderator decide to right click it and ban+delete that user, it would be handy if such image checksum is added to a blocklist with expiration of lets say one year.

Btw. i think that for most cases temporary user ID ban, would be better than filling the SQL table with banned Session IDs, which never gets reused after a few days, when user realize he can not post anything.

slrslr commented 4 months ago

Right now i am spending time ban/deleting poster who is repeatedly posting single image of their genitalia into a community. If there was a feature to generate an image hash and check it against table of banned hashes upon posting, it would save time of the community members, mainly mods, who would just ban user and the banned post image hash would end up in banned hashes table.