We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8983855 commit 1b8e590Copy full SHA for 1b8e590
sclack/store.py
@@ -117,7 +117,7 @@ def get_channel_info(self, channel_id):
117
if channel_id[0] in ('C', 'G'):
118
return self.slack.api_call('conversations.info', channel=channel_id)['channel']
119
elif channel_id[0] == 'D':
120
- return self.slack.api_call('im.info', channel=channel_id)['im']
+ return self.slack.api_call('im.info', channel=channel_id)['channel']
121
122
def get_channel_members(self, channel_id):
123
return self.slack.api_call('conversations.members', channel=channel_id)
0 commit comments