QA round 1 found: HTTP 400 from Synapse was misread as "federation disabled", falsely confirming isolation on a rejected request instead of a real disabled state. Only 404 (no such admin endpoint) now maps to that state; 400 falls through to the 502 error path. Also fixes: nextToken type mismatch (Synapse sends a string, hook declared number), empty-state panel wrongly shown on pages beyond the last result, and a NaN guard when advancing pagination. AC amended: "letzter erfolgreicher Kontakt" removed — Synapse's destinations list endpoint has no such timestamp, only retry_last_ts for failed attempts. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
8 lines
203 B
Bash
8 lines
203 B
Bash
DATABASE_URL=postgresql://user:password@localhost:5432/app
|
|
JWT_SECRET=change-me
|
|
PORT=4000
|
|
|
|
SYNAPSE_BASE_URL=http://localhost:8008
|
|
SYNAPSE_ADMIN_TOKEN=change-me
|
|
SYNAPSE_SERVER_NAME=chat.vereinschat.local
|