Skip to content

Create random avatar for test contacts

Torsten Grote requested to merge 1848-test-avatars into 214-user-avatars

This MR factors out update message encoding from the AvatarManager into an AvatarMessageEncoder, so that it can be used to create messages for testing. Then it introduces a simple TestAvatarCreator interface and implements this only for Android debug builds. This is then used by the TestDataCreator to add avatars to test contacts. Finally, the last commit allows the percentage of contacts with avatars to be configured in the UI.

Dev part of #1848 (closed)

Merge request reports