discord-bridge: relay name falls back to the homeserver (patch 0003) #71

Merged
jared merged 1 commits from discord-bridge/relay-name-fallback into main 2026-11-23 11:39:00 -05:00
1 Commits
Author SHA1 Message Date
jaredandClaude Opus 5.5 a4a0b0bd0d discord-bridge: relay name falls back to the homeserver (patch 0003)
Lint / Shell (shellcheck) (push) Successful in 12s
Lint / Landing page is rendered (matrix (push) Successful in 6s
Lint / No secrets in webhook configs (push) Successful in 9s
Lint / Python (ruff) (push) Successful in 14s
Lint / Secret scan (gitleaks) (push) Successful in 13s
Lint / Shell (shellcheck) (pull_request) Successful in 17s
Lint / Python deps (pip-audit) (push) Successful in 51s
Lint / No Hookshot webhook IDs in README (pull_request) Successful in 7s
Lint / No secrets in webhook configs (pull_request) Successful in 8s
Lint / Python (ruff) (pull_request) Successful in 7s
Lint / Landing page is rendered (matrix (pull_request) Successful in 8s
Lint / Secret scan (gitleaks) (pull_request) Successful in 10s
Lint / JS (eslint) (push) Successful in 12s
Lint / No Hookshot webhook IDs in README (push) Successful in 12s
Lint / Python deps (pip-audit) (pull_request) Successful in 56s
Lint / JS (eslint) (pull_request) Successful in 11s
On 2026-11-23 the bridge lost database access (pg_hba rule wiped by a
pve-infra deploy) but kept running. A relayed message then went to Discord
as "@jared:matrix.lotusguild.org" with no avatar, because the sender's
display name/avatar come only from the bridge's DB copy of room state and
that read failed.

Patch 0003 reads members through IntentAPI.Member, which uses the same
cache but asks Synapse when the cached read fails or misses. Also used for
the name in reply embeds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA
2026-11-23 11:32:44 -05:00