From cfa6aedf54c3a0933705c5cde0c65410743c9d31 Mon Sep 17 00:00:00 2001 From: Timo Reimann Date: Thu, 26 Sep 2024 18:07:38 +0200 Subject: [PATCH] Disable locale when fetching channel info We do not use the locale information. --- slack.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slack.go b/slack.go index f523659..7a32000 100644 --- a/slack.go +++ b/slack.go @@ -137,8 +137,7 @@ func (metaClient *slackMetaClient) getChannels(ctx context.Context) (channelList func (metaClient *slackMetaClient) getChannelByID(ctx context.Context, id string) (*slack.Channel, error) { return metaClient.slackClient.GetConversationInfoContext(ctx, &slack.GetConversationInfoInput{ - ChannelID: id, - IncludeLocale: true, + ChannelID: id, }) }