matrix-static icon indicating copy to clipboard operation
matrix-static copied to clipboard

404 on user avatar (e.g. XMPP bifrost bridge) displays long mxid as alt text

Open emorrp1 opened this issue 2 years ago • 3 comments

Hi, I'm somewhat guessing as to the cause, but this public conversation shows one xmpp synthetic user (southerntofu) the same as a native matrix user, but another is shown as the ugly full-text ID. Now I'm sure there's also an bug in bifrost involved here, but even then it seems like there's probably an edge-case in the disambiguation rendering on the matrix-static side.

Expected behaviour: poVoq/kris should be rendered the same way as southerntofu in the userlist, or at least as something like "nick (@mxid)" if there is some difference in the room data.

emorrp1 avatar Aug 26 '21 18:08 emorrp1

image image

for future reference, not sure why its doing $MXID$NAME

t3chguy avatar Aug 31 '21 15:08 t3chguy

aha, it's because the user has no avatar, so the img alt text is used (the 404 broken icon in your MemberInfo), updating issue description accordingly.

<a href="..."><img ... alt="@_xmpp_kris=40outmo.de:matrix.org">kris</a>

emorrp1 avatar Aug 31 '21 21:08 emorrp1

Good spot, looks like an issue with the default avatar generation

t3chguy avatar Sep 01 '21 07:09 t3chguy