Skip to content

bridgev2: allow relayed reactions#510

Open
keithah wants to merge 1 commit into
mautrix:mainfrom
keithah:allow-relay-reactions
Open

bridgev2: allow relayed reactions#510
keithah wants to merge 1 commit into
mautrix:mainfrom
keithah:allow-relay-reactions

Conversation

@keithah

@keithah keithah commented May 30, 2026

Copy link
Copy Markdown

bridgev2 currently drops Matrix reactions from relay-level users before they reach the connector. That prevents bridges from implementing network-specific relay reaction behavior.

This passes the original Matrix sender through to handleMatrixReaction, matching the way message, edit, and delete handling already works. Bridges still decide what to do with the relayed reaction; connectors that do not opt in keep ignoring them through their existing relay checks.

I need this for mautrix-discord bridgev2 relay support: relayed Discord messages can be sent with webhooks, but reactions have to go through an authenticated Discord session.

Tested:

  • go test ./bridgev2/...

Copilot AI review requested due to automatic review settings May 30, 2026 03:53
@keithah keithah force-pushed the allow-relay-reactions branch 2 times, most recently from 9b0d0d7 to 62f3114 Compare May 30, 2026 04:44
@keithah keithah force-pushed the allow-relay-reactions branch from 62f3114 to 5102fc7 Compare July 3, 2026 19:30
@keithah keithah changed the title bridge: pass relay reactions to portals bridgev2: allow relayed reactions Jul 3, 2026
@keithah keithah changed the base branch from v0.16.x to main July 3, 2026 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant