Skip to content

Avatars not being shown when UseRealName is activated #1138

@marianotribuj

Description

@marianotribuj

When your server is configured to use Real Names, the user's avatars are not being shown (it shows the autogenerated first letter ones).
I've tracked down the issue to Avatar.js, when it creates the Avatar URL, it uses the Real Name which doesn't exists on the server.

const room = type === 'd' ? text : `@${ text }`;

I'll try to fix (will need to send the username down to Avatar.js from RoomItem) and create a PR (if no one fixed it yet).
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions