summaryrefslogtreecommitdiffstats
path: root/bridge/bridge.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-06-22 01:02:05 +0200
committerWim <wim@42.be>2017-06-22 01:02:05 +0200
commit276ac840aacf01532ef33f0d461775daacb23880 (patch)
tree6047f397f28eb2080aca3e96d9631a37be914c44 /bridge/bridge.go
parent1f914618538920db4bfec7b106ee97038b157c9b (diff)
downloadmatterbridge-msglm-276ac840aacf01532ef33f0d461775daacb23880.tar.gz
matterbridge-msglm-276ac840aacf01532ef33f0d461775daacb23880.tar.bz2
matterbridge-msglm-276ac840aacf01532ef33f0d461775daacb23880.zip
Add initial steam support
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 fa00ea44..2cf56c0b 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/steam"
"github.com/42wim/matterbridge/bridge/telegram"
"github.com/42wim/matterbridge/bridge/xmpp"
log "github.com/Sirupsen/logrus"
@@ -75,6 +76,9 @@ func New(cfg *config.Config, bridge *config.Bridge, c chan config.Message) *Brid
case "matrix":
b.Config = cfg.Matrix[name]
b.Bridger = bmatrix.New(cfg.Matrix[name], bridge.Account, c)
+ case "steam":
+ b.Config = cfg.Steam[name]
+ b.Bridger = bsteam.New(cfg.Steam[name], bridge.Account, c)
case "api":
b.Config = cfg.Api[name]
b.Bridger = api.New(cfg.Api[name], bridge.Account, c)