NextCloud Talk's Bot API expects the HMAC signature to be calculated
over `random + message` (just the message text), not over the entire
JSON body `random + {"message":"..."}`.
This fix changes the signature calculation to use the plain message
text while keeping the HTTP request body as JSON.
Fixes authentication errors when bots try to send responses:
"Nextcloud Talk: authentication failed - check bot secret"
Closes #4073
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| src | ||
| clawdbot.plugin.json | ||
| index.ts | ||
| package.json | ||