diff options
Diffstat (limited to 'vendor/github.com/nlopes')
-rw-r--r-- | vendor/github.com/nlopes/slack/websocket_managed_conn.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/nlopes/slack/websocket_managed_conn.go b/vendor/github.com/nlopes/slack/websocket_managed_conn.go index 762b8f11..9c48852a 100644 --- a/vendor/github.com/nlopes/slack/websocket_managed_conn.go +++ b/vendor/github.com/nlopes/slack/websocket_managed_conn.go @@ -302,6 +302,8 @@ func (rtm *RTM) handleRawEvent(rawEvent json.RawMessage) { rtm.IncomingEvents <- RTMEvent{"hello", &HelloEvent{}} case "pong": rtm.handlePong(rawEvent) + case "desktop_notification": + rtm.Debugln("Received desktop notification, ignoring") default: rtm.handleEvent(event.Type, rawEvent) } |