forked from matrix-org/matrix-rust-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ffi: Expose room heroes (adding support for avatars). (matrix-org#3503)
This PR makes 2 changes: - Updates the storage of room heroes to be a single array containing the user's complete profile. - Exposes these to the FFI so that client apps can use these for avatar colours/clusters. Closes matrix-org#2702 (again, now with avatars 🖼️) --- * rooms: Store heroes as a complete user profile. * ffi: Expose room heroes on Room and RoomInfo. * chore: Remove TODO comment. * Update crates/matrix-sdk-base/src/rooms/normal.rs Signed-off-by: Benjamin Bouvier <[email protected]> --------- Signed-off-by: Benjamin Bouvier <[email protected]> Co-authored-by: Benjamin Bouvier <[email protected]>
- Loading branch information
Showing
7 changed files
with
146 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters