-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
community.general.slack: Private Channel ID's are not found #2608
Comments
Files identified in the description: If these files are inaccurate, please update the |
I guess |
@cchang10222 If you have tested #2608 (comment) fixed your issue, are you interested in making a PR fixing this for everyone using module? |
@aminvakil @felixfontein I tested and this did fix my issue, I could give it a try and open a PR for this. |
@cchang10222 Great! |
@cchang10222 Are you still planning to work on this? You can also take a look at create pr quick start guide. |
Files identified in the description: If these files are incorrect, please update the |
Summary
When I try to modify a message from a private channel, I am returned a "channel_not_found" message. Looking into the code is seems that the slack.py build_payload_for_slack() function is looking for channels that start with ('#', '@', 'C0') but private channels start with G0#### and a "#" is prefixed into the channel id which misnames the channel id.
Issue Type
Bug Report
Component Name
slack
Ansible Version
Configuration
$ ansible-config dump --only-changed
OS / Environment
No response
Steps to Reproduce
Expected Results
I expected the message to be updated but instead received a channel not found.
Actual Results
The text was updated successfully, but these errors were encountered: