Files
patrickandClaude Sonnet 5 2606be571b fix(PROJ-16): correct federation status detection and pagination edge cases
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>
2026-09-18 00:23:38 +02:00

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