Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

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

Open
emorrp1 opened this issue Aug 26, 2021 · 3 comments

Comments

@emorrp1
Copy link

emorrp1 commented Aug 26, 2021

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.

@t3chguy
Copy link
Member

t3chguy commented Aug 31, 2021

image
image

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

@emorrp1
Copy link
Author

emorrp1 commented Aug 31, 2021

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 emorrp1 changed the title disambiguation of bifrost xmpp user with multiple devices 404 on user avatar (e.g. XMPP bifrost bridge) displays long mxid as alt text Aug 31, 2021
@t3chguy
Copy link
Member

t3chguy commented Sep 1, 2021

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants