summaryrefslogtreecommitdiffstats
path: root/bridge/api
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/api')
-rw-r--r--bridge/api/api.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/bridge/api/api.go b/bridge/api/api.go
index 196be182..ca28d904 100644
--- a/bridge/api/api.go
+++ b/bridge/api/api.go
@@ -66,11 +66,11 @@ func (b *Api) JoinChannel(channel config.ChannelInfo) error {
}
-func (b *Api) Send(msg config.Message) error {
+func (b *Api) Send(msg config.Message) (string, error) {
b.Lock()
defer b.Unlock()
b.Messages.Enqueue(&msg)
- return nil
+ return "", nil
}
func (b *Api) handlePostMessage(c echo.Context) error {