From e93847a95ed984837128b468cc3ab16702843095 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 23 Oct 2016 22:23:20 +0200 Subject: Launch every account only once. Fixes #48 --- bridge/mattermost/mattermost.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'bridge') diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go index 2a9749d2..685d2929 100644 --- a/bridge/mattermost/mattermost.go +++ b/bridge/mattermost/mattermost.go @@ -106,10 +106,7 @@ func (b *Bmattermost) Protocol() string { func (b *Bmattermost) Send(msg config.Message) error { flog.Debugf("Receiving %#v", msg) - if msg.FullOrigin != b.FullOrigin() { - return b.SendType(msg.Username, msg.Text, msg.Channel, "") - } - return nil + return b.SendType(msg.Username, msg.Text, msg.Channel, "") } func (b *Bmattermost) SendType(nick string, message string, channel string, mtype string) error { -- cgit v1.2.3