Reactions #6

Open
opened 2025-02-23 18:57:07 -08:00 by jshiffer · 1 comment
Owner

XMPP supports message reactions via XEP-0444.
The problem is, you can't accurately reflect the reaction count without having an XMPP puppet user for every Discord user, and this approach as done by the Python bridge in the other repo (xmpp-discord-bridge) is highly unstable and scales poorly.
Likewise, Discord webhooks can't leave reactions, and the Discord bot account is just one user, so it can't leave more than one reaction per distinct emoji.
Maybe a placeholder message will do, or just leaving a single reaction.

XMPP supports message reactions via XEP-0444. The problem is, you can't accurately reflect the reaction count without having an XMPP puppet user for every Discord user, and this approach as done by the Python bridge in the other repo (xmpp-discord-bridge) is highly unstable and scales poorly. Likewise, Discord webhooks can't leave reactions, and the Discord bot account is just one user, so it can't leave more than one reaction per distinct emoji. Maybe a placeholder message will do, or just leaving a single reaction.
Author
Owner

right now the Discord bot user replies with the reaction in a separate message, when an XMPP reaction is made, but only a subset of emojis seems to be supported

right now the Discord bot user replies with the reaction in a separate message, when an XMPP reaction is made, but only a subset of emojis seems to be supported
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: lug/matterbridge#6
No description provided.