most clients use \”display_name\”for mentions

damus uses \”name\” which corresponds to username

I wish this wasn’t the case and clients could agree, or a 3rd metadata is created for the name you want to be mentioned as, which clients could freely map which ever positioned name too.

astral does a cool thing where nip 05 is truncated with \”name\” if they are the same

I have a hunch that we just desperately want to avoid using nip 05 for mentions because that would mean double @‘s like on mastodon (even if we don’t render the first one, it still has to be typed to tag) which is indeed a valid critique and something to avoid

Reply to this note

Please Login to reply.

Discussion

a quick fix could be to just make usernames bold in damus if no your name is found… it looks to me snooping your profile as if most clients will render mentions and profiles from \”name\” if no \”display_name\” is found.

I hadn’t thought about mentions. I was mainly thinking about just the vanity aspect of it. But now that you mention (no pun) it, it might be hard to know how to mention someone depending on their preferred vanity presentation. But I do agree it’s something that might need to be added to the metadata so all clients can handle it.

lmao *handle* it.

my journey down this rabbit hole all started with the vanity of my name… having to balance having it written 3 times or be @zach on a handful of clients or having it all the same but sometimes having it wrap to the next line funny in damus.

I also think a lot of people have double names jack @jack just to copy him and be in the double first name club… they aren’t doing it to keep things consistent crossed nostr, but emulating this does keep it consistent so there isn’t a bunch of people reacting with the question, “why is my username different on different clients?”

for a while the way you have it set up… your mention would simply be @… damus has held out on this long enough that Iris and snort are pulling from \”name”\ if there isn’t display_name, so if more clients do that, damus could just bold the username if there was no “your name” as you have it. I would ditch \”display_name\” as you have if that was the case.