Skip to content

XEP-0444: Message Reactions #2158

@mdosch

Description

@mdosch

Is your feature request related to a problem? Please describe.

Other clients implemented XMPP-0444: Message Reactions and a lot of users use it frequently. To not miss informations it would be very helpful if profanity also implements XEP-0444.

Describe the solution you'd like

Poezio recently added support for XEP-0444, so maybe profanity could solve it in a similar way.

Showing is probably the easiest: Just insert a line under a message that received a reaction and show all emoji reactions in that line below, with an indicator at the line start that shows this is the emoji line (poezio uses |). If one reaction was used more than one time show a counter, e.g.:

This is a message people reacted to.
| 🤣😇🚀[3]👍🏼[999]

For reacting maybe do /react <tab> and by tabbing cycle through messages (like for quoting) and choose the message to react to by confirming with return. Then there you could either paste one or more emojis ore type them by using the name, e.g. :grinning face:.
Bonus: Typing by the name would interpret , - and _ equal, so you can type either :grinning face:, :grinning-face: or :grinning_face.

Describe alternatives you've considered

No idea.

Additional context

List of emoji and their CLDR short names

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions