summaryrefslogtreecommitdiffstats
path: root/bridge/bridge.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-12-03 01:29:25 +0100
committerWim <wim@42.be>2017-12-03 01:29:25 +0100
commit67a9d133e9cfef9317b3950383b6a48680998905 (patch)
tree7bd11118c066efca7965bc593ba6547e35c73114 /bridge/bridge.go
parented9118b34620f1ecd5f28506328d4ffe1b04793d (diff)
downloadmatterbridge-msglm-67a9d133e9cfef9317b3950383b6a48680998905.tar.gz
matterbridge-msglm-67a9d133e9cfef9317b3950383b6a48680998905.tar.bz2
matterbridge-msglm-67a9d133e9cfef9317b3950383b6a48680998905.zip
Add quick & dirty sshchat support (https://github.com/shazow/ssh-chat)
Diffstat (limited to 'bridge/bridge.go')
-rw-r--r--bridge/bridge.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go
index 5df7c3da..4c0540f6 100644
--- a/bridge/bridge.go
+++ b/bridge/bridge.go
@@ -10,6 +10,7 @@ import (
"github.com/42wim/matterbridge/bridge/mattermost"
"github.com/42wim/matterbridge/bridge/rocketchat"
"github.com/42wim/matterbridge/bridge/slack"
+ "github.com/42wim/matterbridge/bridge/sshchat"
"github.com/42wim/matterbridge/bridge/steam"
"github.com/42wim/matterbridge/bridge/telegram"
"github.com/42wim/matterbridge/bridge/xmpp"
@@ -79,6 +80,9 @@ func New(cfg *config.Config, bridge *config.Bridge, c chan config.Message) *Brid
case "steam":
b.Config = cfg.Steam[name]
b.Bridger = bsteam.New(cfg.Steam[name], bridge.Account, c)
+ case "sshchat":
+ b.Config = cfg.Sshchat[name]
+ b.Bridger = bsshchat.New(cfg.Sshchat[name], bridge.Account, c)
case "api":
b.Config = cfg.Api[name]
b.Bridger = api.New(cfg.Api[name], bridge.Account, c)