summaryrefslogtreecommitdiffstats
path: root/bridge/rocketchat
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-03-05 20:19:43 +0100
committerWim <wim@42.be>2018-03-05 20:19:43 +0100
commit8d2ce56c37f3634c185327cd73d360fd02cd13d7 (patch)
tree221213a6281dd9ced19d891c74a3b34bb9683684 /bridge/rocketchat
parent1ec324354be8133830919fe454f363106410c1e8 (diff)
downloadmatterbridge-msglm-8d2ce56c37f3634c185327cd73d360fd02cd13d7.tar.gz
matterbridge-msglm-8d2ce56c37f3634c185327cd73d360fd02cd13d7.tar.bz2
matterbridge-msglm-8d2ce56c37f3634c185327cd73d360fd02cd13d7.zip
Fix regression (slack). Closes #384
Diffstat (limited to 'bridge/rocketchat')
-rw-r--r--bridge/rocketchat/rocketchat.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/bridge/rocketchat/rocketchat.go b/bridge/rocketchat/rocketchat.go
index fa2c31d7..31de933f 100644
--- a/bridge/rocketchat/rocketchat.go
+++ b/bridge/rocketchat/rocketchat.go
@@ -53,8 +53,7 @@ func (b *Brocketchat) Send(msg config.Message) (string, error) {
b.Log.Debugf("=> Receiving %#v", msg)
if msg.Extra != nil {
for _, rmsg := range helper.HandleExtra(&msg, b.General) {
- matterMessage := matterhook.OMessage{IconURL: b.GetString("IconURL"), Channel: rmsg.Channel, UserName: rmsg.Username,
- Text: rmsg.Text}
+ matterMessage := matterhook.OMessage{IconURL: b.GetString("IconURL"), Channel: rmsg.Channel, UserName: rmsg.Username, Text: rmsg.Text}
b.mh.Send(matterMessage)
}
if len(msg.Extra["file"]) > 0 {