From 0f644c74f33e71fe718207b99ba42665e7967692 Mon Sep 17 00:00:00 2001 From: Ivan Zuev Date: Fri, 18 Feb 2022 19:31:49 +0300 Subject: [PATCH] fixup! feat: use slack socket mode instead of rtm api --- bridge/slack/handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/bridge/slack/handlers.go b/bridge/slack/handlers.go index b2176016ae..0d19755626 100644 --- a/bridge/slack/handlers.go +++ b/bridge/slack/handlers.go @@ -238,6 +238,7 @@ func (b *Bslack) handleMessageEvent(ev *slackevents.MessageEvent) (*config.Messa return rmsg, nil } +// TODO: implement file deletion handle when slack-go library will expose this event func (b *Bslack) handleFileDeletedEvent(ev *slack.FileDeletedEvent) (*config.Message, error) { if rawChannel, ok := b.cache.Get(cfileDownloadChannel + ev.FileID); ok { channel, err := b.channels.getChannelByID(rawChannel.(string))