From dbedc994216fa2e932f1aefd3ea27832419b85ef Mon Sep 17 00:00:00 2001 From: Janet Blackquill Date: Sat, 18 Dec 2021 16:43:29 -0500 Subject: 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. --- gateway/bridgemap/bharmony.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 gateway/bridgemap/bharmony.go (limited to 'gateway') 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 +} -- cgit v1.2.3