summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-05-24 22:10:21 +0200
committerWim <wim@42.be>2017-05-24 22:10:21 +0200
commit87229bab13d89d87284993f27a4c5c2afa762aa2 (patch)
tree62f95c99e6f12df7a26b037c21d7edfcfa3a9641 /bridge
parentf065e9e4d583ca0353dcabf0f10432f7f4c167a3 (diff)
downloadmatterbridge-msglm-87229bab13d89d87284993f27a4c5c2afa762aa2.tar.gz
matterbridge-msglm-87229bab13d89d87284993f27a4c5c2afa762aa2.tar.bz2
matterbridge-msglm-87229bab13d89d87284993f27a4c5c2afa762aa2.zip
Fix sending to different channels on same account (slack). Closes #177
Diffstat (limited to 'bridge')
-rw-r--r--bridge/slack/slack.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index cc03e9ed..eb08500c 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -89,9 +89,6 @@ func (b *Bslack) JoinChannel(channel string) error {
func (b *Bslack) Send(msg config.Message) error {
flog.Debugf("Receiving %#v", msg)
- if msg.Account == b.Account {
- return nil
- }
nick := msg.Username
message := msg.Text
channel := msg.Channel