Comrad icon indicating copy to clipboard operation
Comrad copied to clipboard

Re-add image support: avatars and images attached to posts

Open marxzuckerburg opened this issue 5 years ago • 3 comments

  • Avatars: can be directly exchanged between users (as e2ee) along with their public keys, when they go through "meeting" process?

    • This would mean, however, that users posting to all @komrades would, to readers who haven't met that user, show up without their avatar. How to resolve this?
  • Post images: binary data can be attached to encrypted post data. (Will file size create a problem here?)

marxzuckerburg avatar Sep 27 '20 09:09 marxzuckerburg

I now have avatar uploading working locally: i.e. you can upload your own new avatar to your device, and the app will show that profile picture.

We still don't have "meeting" contacts: I'l work on that now. The process of "meeting" could send an avatar with it. Is this a good solution? Not sure. It avoids saving any avatar on server, which keeps the information we're saving about each user down to a minimum -- just the name and public key. But I have a feeling we may need to expand this eventually...

But it means that accounts you haven't "met" will not show their avatars (probably ok); and that if you change your avatar, even people you've "met" won't know about it. I suppose you could send it out to everyone you know, but that would be a lot of encryption and a lot of data transfer...

quadrismegistus avatar Oct 02 '20 09:10 quadrismegistus

Still to do on avatar, actually:

  • Make jpeg, jpg, and gif available too

quadrismegistus avatar Oct 02 '20 10:10 quadrismegistus

Avatars now uploadable locally and shareable during meeting process. Images in posts still not done

quadrismegistus avatar Oct 06 '20 09:10 quadrismegistus