Skip to content

feat(matrix): add multi-room support#3230

Merged
theonlyhennygod merged 1 commit intomasterfrom
multi-room-resolved
Mar 11, 2026
Merged

feat(matrix): add multi-room support#3230
theonlyhennygod merged 1 commit intomasterfrom
multi-room-resolved

Conversation

@theonlyhennygod
Copy link
Copy Markdown
Collaborator

Replaces #3224 with conflict resolution against latest master.

Enable a single Matrix bot instance to respond in multiple rooms:
- Disable the room_id filter so messages from all joined rooms are processed
- Embed room_id in reply_target as "user||room_id" for routing replies
- Include room_id in channel field for per-room conversation isolation
- Extract room_id from recipient in send() for correct message routing

The configured room_id still serves as a fallback for direct sends
without a "||" separator in the recipient.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@theonlyhennygod theonlyhennygod merged commit f0f0f80 into master Mar 11, 2026
3 of 5 checks passed
@theonlyhennygod theonlyhennygod deleted the multi-room-resolved branch March 11, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant