From 5f30a98bc14da749dc4e96263b6aba9bbbdca114 Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 5 Jun 2017 23:12:19 +0200 Subject: Add gateway name to messages --- gateway/gateway.go | 1 + 1 file changed, 1 insertion(+) (limited to 'gateway') diff --git a/gateway/gateway.go b/gateway/gateway.go index 8ca504e5..27a48c75 100644 --- a/gateway/gateway.go +++ b/gateway/gateway.go @@ -200,6 +200,7 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) { } log.Debugf("Sending %#v from %s (%s) to %s (%s)", msg, msg.Account, originchannel, dest.Account, channel.Name) msg.Channel = channel.Name + msg.Gateway = gw.Name gw.modifyAvatar(&msg, dest) gw.modifyUsername(&msg, dest) // for api we need originchannel as channel -- cgit v1.2.3