mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-07-12 03:06:00 +00:00
7bde3f2f7c
IsPaired() silently returned false on DB query failures (connection timeout, pool exhaustion), causing the system to treat already-paired users/groups as unpaired and create spurious pairing requests. Changed IsPaired signature to return (bool, error). All 13 callers across all channels (Telegram, Discord, Slack, Feishu, WhatsApp, Zalo) and gateway (browser WS, pairing method) now fail-open on DB errors: log a warning and assume paired, avoiding false rejections.