Skip to content
Snippets Groups Projects
  • Andreas Traczyk's avatar
    4bda3306
    swarm: simplify and update avatar update mechanism · 4bda3306
    Andreas Traczyk authored
    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
    4bda3306
    History
    swarm: simplify and update avatar update mechanism
    Andreas Traczyk authored
    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
Code owners
Assign users and groups as approvers for specific file changes. Learn more.