yannickglt / alfred-slack

The Slack workflow for Alfred app
GNU General Public License v2.0
330 stars 31 forks source link

Add types parameter when calling `conversations.list` api. #65

Closed k-sho-boo closed 3 years ago

k-sho-boo commented 3 years ago

This change should fix issue #63. conversations.list api gets only public channels is default. I added parameters to get all channels. This fix works fine on my machine.

dornela commented 3 years ago

@k-sho-boo I also had to add the parameter limit to fix on my machine. I believe slack api was limiting the number of channels and not bringing the private channels. $params['limit'] = '999';

hungri-yeti commented 3 years ago

The commit and the additional suggestion above worked for my local install.

Note: I also needed to do run the --refresh command in the workflow.

Thank you!

yannickglt commented 3 years ago

Thanks for your contribution 🙂