Mercurial > prosody-modules
diff mod_slack_webhooks/README.markdown @ 4769:00fc569e8333
mod_slack_webhook: fixed documentation for default nick and marked trunk as works
author | Gary Kramlich <grim@reaperworld.com> |
---|---|
date | Fri, 12 Nov 2021 03:29:39 -0600 |
parents | 02fc3b64cbb7 |
children |
line wrap: on
line diff
--- a/mod_slack_webhooks/README.markdown Tue Nov 09 11:40:21 2021 +0000 +++ b/mod_slack_webhooks/README.markdown Fri Nov 12 03:29:39 2021 -0600 @@ -37,7 +37,7 @@ ``` {.lua} incoming_webhook_path = "/msg/DFSDF56587658765NBDSA" -default_from_nick = "Bot" -- Unless otherwise specified, posts as "Bot" +incoming_webhook_default_nick = "Bot" -- Unless otherwise specified, posts as "Bot" ``` This allows Slack-style JSON messages posted to http://conference.example.org/msg/DFSDF56587658765NBDSA/chat to appear in the MUC chat@conference.example.org. A username field in the message is honored as the nick attached to the message; if no username is specified, the message will use the value of default_from_nick. @@ -80,7 +80,7 @@ ============= ------- ----------------- - trunk Untested + trunk Works 0.10 Works 0.9 Works ------- -----------------