summaryrefslogtreecommitdiffstats
path: root/bridge/bridge.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-08-27 22:59:37 +0200
committerWim <wim@42.be>2017-08-27 22:59:37 +0200
commit5a8d7b5f6d30bf4d3ee93fe9593e0b3504ad684a (patch)
tree62f8534833b4184606980d1b61b44bbec8898fed /bridge/bridge.go
parentcfb810713872a5f95a5a54c449fef3bce5aa05b5 (diff)
downloadmatterbridge-msglm-5a8d7b5f6d30bf4d3ee93fe9593e0b3504ad684a.tar.gz
matterbridge-msglm-5a8d7b5f6d30bf4d3ee93fe9593e0b3504ad684a.tar.bz2
matterbridge-msglm-5a8d7b5f6d30bf4d3ee93fe9593e0b3504ad684a.zip
Modify Send() to return also a message id
Diffstat (limited to 'bridge/bridge.go')
-rw-r--r--bridge/bridge.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/bridge.go b/bridge/bridge.go
index 2fe0f076..5df7c3da 100644
--- a/bridge/bridge.go
+++ b/bridge/bridge.go
@@ -19,7 +19,7 @@ import (
)
type Bridger interface {
- Send(msg config.Message) error
+ Send(msg config.Message) (string, error)
Connect() error
JoinChannel(channel config.ChannelInfo) error
Disconnect() error