openclaw-matrix-multiaccounts/src/matrix/monitor
Claudia 8790ba5dad feat: Add multi-account Matrix support
- Modified shared.ts to maintain a Map of clients per accountId
- Each account gets its own Matrix client instance
- Backwards compatible with single-account usage
- resolveMatrixAuth now accepts accountId parameter
- stopSharedClient can stop specific or all accounts

Files changed:
- src/matrix/client/shared.ts (main changes)
- src/matrix/client/config.ts (accountId support)
- src/matrix/accounts.ts (list enabled accounts)
- src/matrix/monitor/index.ts (pass accountId)
- src/types.ts (accounts config type)
2026-02-01 11:06:37 +01:00
..
allowlist.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
auto-join.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
direct.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
events.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
handler.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
index.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
location.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
media.test.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
media.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
mentions.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
replies.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
room-info.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
rooms.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
threads.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00
types.ts feat: Add multi-account Matrix support 2026-02-01 11:06:37 +01:00