summaryrefslogtreecommitdiffstats
path: root/gateway/gateway.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-06-18 15:44:54 +0200
committerWim <wim@42.be>2017-06-18 15:44:54 +0200
commit2ddc4f7ae91a51bc8fa279fdab3c7d64600e1a25 (patch)
tree060c4b14360809d4981cbf3b3b6701e84c48af54 /gateway/gateway.go
parent2dd402675d774eec8a3d4b062afb6a5eaf6f884c (diff)
downloadmatterbridge-msglm-2ddc4f7ae91a51bc8fa279fdab3c7d64600e1a25.tar.gz
matterbridge-msglm-2ddc4f7ae91a51bc8fa279fdab3c7d64600e1a25.tar.bz2
matterbridge-msglm-2ddc4f7ae91a51bc8fa279fdab3c7d64600e1a25.zip
Add UserID to each message. Closes #200
Diffstat (limited to 'gateway/gateway.go')
-rw-r--r--gateway/gateway.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/gateway/gateway.go b/gateway/gateway.go
index d2c6c220..7d53069c 100644
--- a/gateway/gateway.go
+++ b/gateway/gateway.go
@@ -198,9 +198,6 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) {
log.Debug("empty channel")
return
}
- // hide message from bridge
- //if msg.Text HideMessagesPrefix
-
originchannel := msg.Channel
origmsg := msg
for _, channel := range gw.DestChannelFunc(&msg, *dest) {