summaryrefslogtreecommitdiffstats
path: root/matterbridge.toml.sample
diff options
context:
space:
mode:
authorJanet Blackquill <uhhadd@gmail.com>2021-12-18 16:43:29 -0500
committerGitHub <noreply@github.com>2021-12-18 22:43:29 +0100
commitdbedc994216fa2e932f1aefd3ea27832419b85ef (patch)
tree2a577dda9e296c9f854ea0677394128d17ca6d17 /matterbridge.toml.sample
parent6cb359cb808e2353db2675b58da95ac0349689fe (diff)
downloadmatterbridge-msglm-dbedc994216fa2e932f1aefd3ea27832419b85ef.tar.gz
matterbridge-msglm-dbedc994216fa2e932f1aefd3ea27832419b85ef.tar.bz2
matterbridge-msglm-dbedc994216fa2e932f1aefd3ea27832419b85ef.zip
Add support for Harmony (#1656)
Harmony is a relatively new (1,5yo) chat protocol with a small community. This introduces support for Harmony into Matterbridge, using the functionality specifically designed for bridge bots. The implementation is a modest 200 lines of code.
Diffstat (limited to 'matterbridge.toml.sample')
-rw-r--r--matterbridge.toml.sample16
1 files changed, 16 insertions, 0 deletions
diff --git a/matterbridge.toml.sample b/matterbridge.toml.sample
index d9210f48..150e0d80 100644
--- a/matterbridge.toml.sample
+++ b/matterbridge.toml.sample
@@ -1661,6 +1661,18 @@ StripNick=false
ShowTopicChange=false
###################################################################
+# Harmony
+###################################################################
+
+[harmony.chat_harmonyapp_io]
+Homeserver = "https://chat.harmonyapp.io:2289"
+Token = "your token goes here"
+UserID = "user id of the bot account"
+Community = "community id that channels will be located in"
+UseUserName = true
+RemoteNickFormat = "{NICK}"
+
+###################################################################
#API
###################################################################
[api]
@@ -1953,6 +1965,10 @@ enable=true
account="zulip.streamchat"
channel="general/topic:mytopic"
+ [[gateway.inout]]
+ account="harmony.chat_harmonyapp_io"
+ channel="channel id goes here"
+
#API example
#[[gateway.inout]]
#account="api.local"