Matrix chat warm-up creates accounts and joins #general for users who never open chat
Problem and intended result
With CHAT_PROVIDER=matrix, the drawer warms up on idle by default (packages/ui/config/chat.ts, warmedUpOnIdle in apps/blog/components/hooks/use-matrix-chat-drawer.ts:44), and the warm-up mints a login token through /api/chat/matrix-login-token, which creates missing Matrix accounts and joins the default room (packages/smart-signer/lib/auth/matrix-login-token.ts). So every chat-eligible signed-in user gets a Matrix account and a #general membership without ever opening chat. stack/matrix/README.md says the warm-up creates none.
Required behavior
- Warm-up (on idle or on intent) never creates an account or joins a room; that happens when the drawer is opened. Existing accounts still warm up.
Acceptance criteria
- Under an eligible user without a Matrix account who never opens chat, no admin
v2/usersPUT and nov1/joinrequest is made. - Under opening the drawer, the account is created and joined as today.
stack/matrix/README.mddescribes the warm-up correctly.
Integration points
apps/blog/components/hooks/use-matrix-chat-drawer.ts- no account creation on warm-upapps/blog/pages/api/chat/matrix-login-token.ts- create the account only when chat is openedstack/matrix/README.md- correct the warm-up description