]> git.giacomolli.uk - onechat/commit
Pass caller contexts through WhatsApp callbacks
authorAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 17:43:29 +0000 (14:43 -0300)
committerAnderson A. Giacomolli <redacted>
Tue, 10 Nov 2026 17:43:29 +0000 (14:43 -0300)
commit3b2bf881d484ba1a33ff77a342564b8195a75c80
treed4555d726226f5f4057805545928568a0dc9c30b
parent6915dbdfeb246551bf1132823d820beb321fd58c
Pass caller contexts through WhatsApp callbacks

Library callbacks use the context of WhatsApp.Run, so daemon
cancellation ends name lookups and image downloads. Each image keeps its
own deadline without the shorter name lookup deadline. Tests use their
caller context.
daemon_log_test.go
whatsapp.go
whatsapp_image_test.go
whatsapp_inbox.go