mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-06-10 06:10:46 +00:00
8cbd30f1ab
Telegram: - Fix context cancellation in reaction timer callbacks — use context.Background() so emoji reactions still work after request context is cancelled - Add comma-ok safety on sync.Map type assertions in OnReactionEvent/ClearReaction Zalo: - Add comma-ok safety on sync.Map type assertions for typing controllers - Validate non-empty senderID before processing text/image messages Feishu/Lark: - Handle json.Unmarshal errors in all 7 LarkClient messaging methods instead of silently returning empty values - Add 30s HTTP timeout for WebSocket endpoint request (was using DefaultClient) - Eliminate double decryption in webhook handler — cache first result - Replace goroutine+sleep with time.AfterFunc for dedup cleanup - Add comma-ok safety on pairing debounce type assertion - Use json.Marshal instead of fmt.Sprintf for image/file key JSON construction Co-authored-by: Luvu182 <208665161+Luvu182@users.noreply.github.com>