You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/docs
Monty Taylor caf5d2dd7c feat(matrix): Add multi-account support to Matrix channel
The Matrix channel previously hardcoded `listMatrixAccountIds` to always
return only `DEFAULT_ACCOUNT_ID`, ignoring any accounts configured in
`channels.matrix.accounts`. This prevented running multiple Matrix bot
accounts simultaneously.

Changes:
- Update `listMatrixAccountIds` to read from `channels.matrix.accounts`
  config, falling back to `DEFAULT_ACCOUNT_ID` for legacy single-account
  configurations
- Add `resolveMatrixConfigForAccount` to resolve config for a specific
  account ID, merging account-specific values with top-level defaults
- Update `resolveMatrixAccount` to use account-specific config when
  available
- The multi-account config structure (channels.matrix.accounts) was not
  defined in the MatrixConfig type, causing TypeScript to not recognize
  the field. Added the accounts field to properly type the multi-account
  configuration.
- Add stopSharedClientForAccount() to stop only the specific account's
  client instead of all clients when an account shuts down
- Wrap dynamic import in try/finally to prevent startup mutex deadlock
  if the import fails
- Pass accountId to resolveSharedMatrixClient(), resolveMatrixAuth(),
  and createMatrixClient() to ensure the correct account's credentials
  are used for outbound messages
- Add accountId parameter to resolveMediaMaxBytes to check account-specific
  config before falling back to top-level config
- Maintain backward compatibility with existing single-account setups

This follows the same pattern already used by the WhatsApp channel for
multi-account support.

Fixes #3165
Fixes #3085

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9 months ago
..
.i18n Docs: seed ja-JP translations 10 months ago
assets docs: modernize gateway configuration page (Phase 1) (#14111) 9 months ago
automation fix: harden hook session key routing defaults 9 months ago
channels feat(matrix): Add multi-account support to Matrix channel 9 months ago
cli fix(security): extend audit hardening checks 9 months ago
concepts feat(agents) : Hugging Face Inference provider first-class support and Together API fix and Direct Injection Refactor Auths [AI-assisted] (#13472) 9 months ago
debug Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
diagnostics Docs: add nav titles across docs (#5689) 10 months ago
experiments fix: prevent act:evaluate hangs from getting browser tool stuck/killed (#13498) 10 months ago
gateway fix: classify /tools/invoke errors and sanitize 500s (#13185) (thanks @davidrudduck) 9 months ago
help test: speed up e2e vitest runtime 9 months ago
images Channels: finish Feishu/Lark integration 10 months ago
install docs: add Windows installer debug equivalents 9 months ago
ja-JP docs: fix ja-JP dashboard URL link 10 months ago
nodes fix: fix: transcribe audio before mention check in groups with requireMention (openclaw#9973) thanks @mcinteerj 9 months ago
platforms chore(release): bump version to 2026.2.13 9 months ago
plugins docs: canonicalize docs paths and align zh navigation (#11428) 10 months ago
providers feat(agents) : Hugging Face Inference provider first-class support and Together API fix and Direct Injection Refactor Auths [AI-assisted] (#13472) 9 months ago
refactor refactor: unify peer kind to ChatType, rename dm to direct (#11881) 10 months ago
reference test: speed up e2e vitest runtime 9 months ago
security Centralize date/time formatting utilities (#11831) 10 months ago
start fix(docs): remove hardcoded Mermaid init blocks that break dark mode (#15157) 9 months ago
tools Security/Browser: constrain trace and download output paths to OpenClaw temp roots (#15652) 9 months ago
web docs: canonicalize docs paths and align zh navigation (#11428) 10 months ago
zh-CN fix: remove bundled soul-evil hook (closes #8776) (#14757) 9 months ago
CNAME refactor: rename to openclaw 10 months ago
brave-search.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
ci.md chore: Cleanup useless CI job. 9 months ago
date-time.md Docs: add nav titles across docs (#5689) 10 months ago
docs.json fix: remove bundled soul-evil hook (closes #8776) (#14757) 9 months ago
index.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
logging.md Docs: add nav titles across docs (#5689) 10 months ago
network.md docs: canonicalize docs paths and align zh navigation (#11428) 10 months ago
perplexity.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
pi-dev.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
pi.md fix: align pi-coding-agent typings and docs 10 months ago
prose.md docs: canonicalize docs paths and align zh navigation (#11428) 10 months ago
style.css Docs: streamline start and install docs (#9648) 10 months ago
tts.md Docs: add nav titles across docs (#5689) 10 months ago
vps.md Docs: enable markdownlint autofixables except list numbering (#10476) 10 months ago
whatsapp-openclaw-ai-zh.jpg Docs: add zh-CN landing notice + AI image 10 months ago
whatsapp-openclaw.jpg refactor: rename to openclaw 10 months ago