fix(mattermost): preserve threaded default and docs
This commit is contained in:
parent
58120b1c69
commit
1bfd50bce9
5 changed files with 26 additions and 23 deletions
|
|
@ -26,6 +26,7 @@ url = "https://mm.your-domain.com"
|
|||
bot_token = "your-bot-access-token"
|
||||
channel_id = "your-channel-id"
|
||||
allowed_users = ["user-id-1", "user-id-2"]
|
||||
thread_replies = true
|
||||
```
|
||||
|
||||
### Configuration Fields
|
||||
|
|
@ -36,12 +37,14 @@ allowed_users = ["user-id-1", "user-id-2"]
|
|||
| `bot_token` | The Personal Access Token for the bot account. |
|
||||
| `channel_id` | (Optional) The ID of the channel to listen to. Required for `listen` mode. |
|
||||
| `allowed_users` | (Optional) A list of Mattermost User IDs permitted to interact with the bot. Use `["*"]` to allow everyone. |
|
||||
| `thread_replies` | (Optional) Whether top-level user messages should be answered in a thread. Default: `true`. Existing thread replies always remain in-thread. |
|
||||
|
||||
## Threaded Conversations
|
||||
|
||||
ZeroClaw automatically supports Mattermost threads.
|
||||
- If a user sends a message in a thread, ZeroClaw will reply within that same thread.
|
||||
- If a user sends a top-level message, ZeroClaw will start a thread by replying to that post.
|
||||
ZeroClaw supports Mattermost threads in both modes:
|
||||
- If a user sends a message in an existing thread, ZeroClaw always replies within that same thread.
|
||||
- If `thread_replies = true` (default), top-level messages are answered by threading on that post.
|
||||
- If `thread_replies = false`, top-level messages are answered at channel root level.
|
||||
|
||||
## Security Note
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue