4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-07-03 14:17:45 +00:00

Allow zulip bridge to specify topic per channel. Closes #701 (#723)

This commit is contained in:
Wim
2019-02-17 21:50:05 +01:00
committed by GitHub
parent 0bcb0b882f
commit a8fe54a78d
3 changed files with 26 additions and 1 deletions

View File

@ -1196,6 +1196,8 @@ Server="https://yourserver.zulipchat.com"
#Topic of the messages matterbridge will use
#OPTIONAL (default "matterbridge")
#You can specify a specific topic for each channel using [gateway.inout.options]
#See more information below at the gateway configuration
Topic="matterbridge"
## RELOADABLE SETTINGS
@ -1438,6 +1440,13 @@ enable=true
[gateway.inout.options]
webhookurl="https://discordapp.com/api/webhooks/123456789123456789/C9WPqExYWONPDZabcdef-def1434FGFjstasJX9pYht73y"
[[gateway.inout]]
account="zulip.streamchat"
channel="general"
#OPTIONAL - topic only works for zulip
[gateway.inout.options]
topic="topic1"
#API example
#[[gateway.inout]]
#account="api.local"