Skip to content

Commit

Permalink
Disable locale when fetching channel info
Browse files Browse the repository at this point in the history
We do not use the locale information.
  • Loading branch information
timoreimann committed Sep 26, 2024
1 parent 1d2a350 commit cfa6aed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions slack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
})
}

Expand Down

0 comments on commit cfa6aed

Please sign in to comment.