Skip to content

Commit

Permalink
Merge pull request #23 from timoreimann/disable-locale
Browse files Browse the repository at this point in the history
Disable locale when fetching channel info
  • Loading branch information
timoreimann authored Sep 26, 2024
2 parents 1d2a350 + cfa6aed commit ab20f68
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 ab20f68

Please sign in to comment.