pla1 / FediPhoto

Post a photo quickly to the Fediverse
GNU General Public License v3.0
11 stars 4 forks source link

photos kept in memory untill published #6

Open xmgz opened 4 years ago

xmgz commented 4 years ago

following previous report ...

later I changed config to my mastodon account and without warning or confirmation all stored and not published pictures on pixelfed were published using my mastodon account and a diferent status config also.

So I guess these pictures where kept in "memory" untill they could be published by any mean (so to speak).

Consider potential implications for privacy (because some statuses could be DM and later been publishd using another status configuration for public TLs)

thanks

pla1 commented 4 years ago

Yikes. Yeah I could see that happening. FediPhoto uses a worker to post photos so that if you don't have connectivity it will keep trying until it succeeds. Probably need to destroy posts in the queue when configuration changes.

pla1 commented 4 years ago

In v2.6 I added a prompt to delete workers over a day old. This is not a fix for this issue but kinda related. Leaving issue open.

silkevicious commented 4 years ago

Maybe in the main page we could add a small infobox saying like:

"X workers exist and waits to upload the pics. Don't change account/status config or they will be uploaded on the new account/status config instead of the older"

This is not the solution but just a mitigation?