Skip to content

xmpp.go: XEP-0444 <reaction> #3

@kousu

Description

@kousu

Support https://xmpp.org/extensions/xep-0444.html.

With matterbridge-org#134 we have this semi-functional: reactions sent by XMPP clients include <reply> as a fallback, and the reaction emoji is just in the <body> so it comes through, it's just cluttered because each reaction shows as a separate message.

All the infrastructure is there already. We just need to adapt it.

Roadmap:

  1. Figure out what exists in matterbridge's config.Message type for representing Reactions and how to use it
  2. Patch go-xmpp to parse the <reactions> element
  3. Translate xmpp.Chat.Reactions (or whatever) to config.Message.Reactions (or whatever) on incoming messages
  4. Translate config.Message.Reactions to xmpp.Chat.Reactions on outgoing messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions