From 6e06f3328eb4eabfc20956310db514a3b5f23ec2 Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 30 Mar 2022 22:05:11 +0200 Subject: [PATCH] Update bridge/slack/slack.go --- bridge/slack/slack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 2d7f996a..c39c6082 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -478,7 +478,7 @@ func (b *Bslack) uploadFile(msg *config.Message, channelID string) (string, erro b.Log.Debugf("Adding file ID %s to cache with timestamp %s", res.ID, ts.String()) b.cache.Add("file"+res.ID, ts) - //search for message id by uploaded file in private/public channels, get thread timestamp from uploaded file + // search for message id by uploaded file in private/public channels, get thread timestamp from uploaded file if v, ok := res.Shares.Private[channelID]; ok && len(v) > 0 { messageID = v[0].Ts }