-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add is_enterprise_install flag to command, interactions, and oauth2 r…
…esponse
- Loading branch information
Showing
3 changed files
with
52 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
b13e91d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there's an issue with this - my guess is it needs to be a string? See: #1267
b13e91d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, my bad. I haven't tested it with websockets. I think it's sometimes a string and sometimes a boolean. One of the unit tests for socket mode indicates that it's a boolean, so I thought it would be fine there, but apparently not.
You can find the unit test here: https://github.com/slack-go/slack/blob/master/socketmode/socketmode_test.go#L82
b13e91d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the parameter from Slack doc.
Also, I checked the interactive payload, and it is also a boolean. I think we may need a special treatment for websockets if that is actually the problem.
b13e91d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was about to work on this, but it seems like it's already been addressed #1266