Skip to content

Support for rendering MSC4144 profiles on messages #2563

@timedoutuk

Description

@timedoutuk

Describe the problem

A lot of bridges today, like the mautrix-discord bridge, make use of MSC4144: Per Message Profiles in order to provide context-specific display profiles for senders, for example a puppet with a global profile, sending with a guild or channel-level profile like a different displayname.

#1071 mentioned this MSC, however is also quite a bit wider in scope. While it would be nice to have, having full support for also sending and managing 4144 profiles is quite the task, however I believe simply just rendering them would be sufficient for most people. In fact, I hear people use my own deployments of Cinny Web somewhat frequently because I maintain a patch that hacks in this functionality, and the people that use this have never asked for anything more. It looks a bit like this:

Image

Obviously this isn't a polished example, and has gradually decayed as time has passed from when I first implemented it, but it should be alright as a proof of concept.

Describe the solution you'd like

I'd like if Cinny could render a message's per message profile when it is present on a message. I'm pretty sure this could just be as simple as changing the value passed to the displayname and avatar elements, but I'm not a connoisseur of frontend or design.

Alternatives considered

None that I know work for the common use cases of current day.

Additional context

This isn't a duplicate of #66 or #1071 because it does not imply support for using multiple profiles, only displaying them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions