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.
2 parents 8983855 + 1b8e590 commit c7a8c02Copy full SHA for c7a8c02
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