Skip to content

Commit

Permalink
fixup! feat: use slack socket mode instead of rtm api
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Zuev committed Feb 18, 2022
1 parent ef5a4c7 commit 0f644c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bridge/slack/handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 0f644c7

Please sign in to comment.