Skip to content

Permalinks to events in DMs should say "Message from $sender" or "Message with $opponent"  #1993

@turt2live

Description

@turt2live

Your use case

What would you like to do?

Send permalinks to messages originating in a DM

Why would you like to do it?

Either to reference them internally within the DM or outside the DM to bring the person back in.

How would you like to achieve it?

The pill for a permalink could be aware of which room it's in. If the permalink is in a DM and in the room it references, the pill text should say "Message from $sender" (where sender is the target event sender, if known). When the permalink points to a message in a DM, but is not sent within the referenced room, the pill text should say "Message with $opponent".

Have you considered any alternatives?

No response

Additional context

Currently the pill text says "Message in Alice", but Alice isn't a room - they're a user.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions