summaryrefslogtreecommitdiffstats
path: root/gateway
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-11-22 00:28:40 +0100
committerWim <wim@42.be>2017-11-22 00:28:40 +0100
commitcbd73ee313df8d4e590835e451200e7bff24473f (patch)
treec0478d365611411c86e59be29a0ac70cb20a1a3d /gateway
parent34227a7a39219a0a7f6de4fb5cd55632fedb48d3 (diff)
downloadmatterbridge-msglm-cbd73ee313df8d4e590835e451200e7bff24473f.tar.gz
matterbridge-msglm-cbd73ee313df8d4e590835e451200e7bff24473f.tar.bz2
matterbridge-msglm-cbd73ee313df8d4e590835e451200e7bff24473f.zip
Add support for uploaded images/video/files (matrix)
Diffstat (limited to 'gateway')
-rw-r--r--gateway/gateway.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/gateway/gateway.go b/gateway/gateway.go
index be03a99b..e5d74ff2 100644
--- a/gateway/gateway.go
+++ b/gateway/gateway.go
@@ -155,7 +155,8 @@ func (gw *Gateway) handleMessage(msg config.Message, dest *bridge.Bridge) []*BrM
if dest.Protocol != "discord" &&
dest.Protocol != "slack" &&
dest.Protocol != "mattermost" &&
- dest.Protocol != "telegram" {
+ dest.Protocol != "telegram" &&
+ dest.Protocol != "matrix" {
if msg.Text == "" {
return brMsgIDs
}