From 5a8d7b5f6d30bf4d3ee93fe9593e0b3504ad684a Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 27 Aug 2017 22:59:37 +0200 Subject: Modify Send() to return also a message id --- bridge/bridge.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/bridge.go') 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 -- cgit v1.2.3