project-robius / robrix

A Matrix chat client written in pure Rust using the Makepad UI toolkit and the Robius app dev framework
MIT License
67 stars 11 forks source link

Use the user profile cache as a fallback for usernames/avatars #106

Closed kevinaboos closed 1 month ago

kevinaboos commented 1 month ago

Currently this commit only adds the usage of the user profile cache for the drawing of a profile (user name + avatar) for each timeline event.

Rewrite the avatar_cache to use a thread-local cache only accessible by the main UI thread (just like the user_profile_cache) instead of being based on the media cache.

Addresses #96

kevinaboos commented 1 month ago

still needs thorough testing