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!