Notify webhook also fires for injected messages (channel match) + compose env passthroughs #21

Merged
kamilkrzywda merged 1 commits from feat/notify-on-inject into main 2026-09-25 03:56:53 +02:00
Owner

Extracts the v0.11.0 webhook block into notifyRx() and calls it from injectMessage too, so external systems can trigger communication via POST /api/messages when MESH_NOTIFY_CHANNEL matches (injected records use channel 0; default stays 3). Adds MESH_NOTIFY_URL/MESH_NOTIFY_CHANNEL passthroughs to docker-compose.yml.

Follow-up to #17.

Extracts the v0.11.0 webhook block into notifyRx() and calls it from injectMessage too, so external systems can trigger communication via POST /api/messages when MESH_NOTIFY_CHANNEL matches (injected records use channel 0; default stays 3). Adds MESH_NOTIFY_URL/MESH_NOTIFY_CHANNEL passthroughs to docker-compose.yml. Follow-up to #17.
kamilkrzywda added 1 commit 2026-09-25 03:55:52 +02:00
Fire notify webhook for injected messages (channel 0)
CI / build + unit (pull_request) Successful in 1m3s
715cb55267
kamilkrzywda merged commit 3d0e369230 into main 2026-09-25 03:56:53 +02:00
kamilkrzywda deleted branch feat/notify-on-inject 2026-09-25 03:56:53 +02:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OpenCode/MeshBot#21