Skip to content
Snippets Groups Projects
Commit 4bda3306 authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

swarm: simplify and update avatar update mechanism

Implements a leaner avatar caching system. The avatar component
listens for uid filtering its id, which may be:
- conversation id
- account id
- contact uri

In response to the uid change, a the image source is updated with
a new image url invoking a fresh QQuickImageProvider query. With
this design, only the avatarregistry's uid mapping needs to be
updated when profiles are changed, and no longer should specific
avatar components receive manual source updates.

Gitlab: #466
Change-Id: Ie5313f5c187a0977ca51b890dd92187480a42537
parent 285316dd
No related branches found
No related tags found
No related merge requests found
Showing
with 407 additions and 584 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment