Open Earthw0rmJ1m opened 3 weeks ago
I like the idea of separating media files in ~/.local/share
and avatars (less important) in .cache
.
It also does shorten the path to rm -rf in case of an evil user putting illegal material in his profile picture and distributing it via caching. Nuke ~/.cache
and it's done.
Either change the avatar storage permantly to .cache or add option in GUI for user to do so. Reasoning for privacy or distro specific like using Dino on TailsOS. Or for users that have .cache mounted to tmpfs. Most XMPP client aplications stores avatars in .cache.
Step 1: Modify
avatar_manager.vala
Step 2: Update GUI Options
settings.vala
(or like this):