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.
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 | |
|---|---|---|
| .. | ||
| bluebubbles.md | 10 months ago | |
| broadcast-groups.md | 10 months ago | |
| channel-routing.md | 10 months ago | |
| discord.md | 9 months ago | |
| feishu.md | 10 months ago | |
| googlechat.md | 10 months ago | |
| grammy.md | 9 months ago | |
| group-messages.md | 10 months ago | |
| groups.md | 10 months ago | |
| imessage.md | 9 months ago | |
| index.md | 10 months ago | |
| irc.md | 10 months ago | |
| line.md | 10 months ago | |
| location.md | 10 months ago | |
| matrix.md | 9 months ago | |
| mattermost.md | 10 months ago | |
| msteams.md | 9 months ago | |
| nextcloud-talk.md | 10 months ago | |
| nostr.md | 10 months ago | |
| pairing.md | 9 months ago | |
| signal.md | 9 months ago | |
| slack.md | 9 months ago | |
| telegram.md | 9 months ago | |
| tlon.md | 10 months ago | |
| troubleshooting.md | 10 months ago | |
| twitch.md | 10 months ago | |
| whatsapp.md | 9 months ago | |
| zalo.md | 10 months ago | |
| zalouser.md | 10 months ago | |