prose-im / prose-app-macos

Prose macOS application. XMPP client for team messaging.
https://prose.org/downloads
Mozilla Public License 2.0
58 stars 3 forks source link

feat: Show avatar images #120

Closed nesium closed 2 years ago

nesium commented 2 years ago

This PR introduces the ability to upload an avatar image and display avatars of participants in a chat and people in your roster.

I've introduced two state containers SessionState and ChatSessionState. These carry state about the current user and the selected chat (See rationale here) and can be shared between reducers.

It's now possible to go into the "Edit profile" screen and upload a new avatar image by dragging & dropping it onto the avatar field in the top left.

I'm sorry that this grew so large but I had to take several shortcuts already:

valeriansaliou commented 2 years ago

Just tested the feature, works & looks great for me! 👍🏻

RemiBardon commented 2 years ago

Thank you very much 🙏🏼 I will review this PR this morning.