summaryrefslogtreecommitdiffstats
path: root/gateway/bridgemap
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 /gateway/bridgemap
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 'gateway/bridgemap')
-rw-r--r--gateway/bridgemap/bharmony.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/gateway/bridgemap/bharmony.go b/gateway/bridgemap/bharmony.go
new file mode 100644
index 00000000..a747dda4
--- /dev/null
+++ b/gateway/bridgemap/bharmony.go
@@ -0,0 +1,12 @@
+//go:build !noharmony
+// +build !noharmony
+
+package bridgemap
+
+import (
+ bharmony "github.com/42wim/matterbridge/bridge/harmony"
+)
+
+func init() {
+ FullMap["harmony"] = bharmony.New
+}