Skip to content
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

Don't prompt for unfurl without permission #923

Merged
merged 1 commit into from
Aug 26, 2019

Conversation

dennissivia
Copy link
Contributor

While processing the link_shared Slack event, we need to check if the
integration is installed in the current channel before creating an
ephemeral message for private repos.
Otherwise the attempt to prompt the user will result in a no_permission error from Slack.

Closes #922

While processing the `link_shared` Slack event, we need to check if the
integration is installed in the current channel before creating an
ephemeral message for private repos.
Otherwise the attempt to prompt the user will result in a `no_permission` error from Slack.

Closes #922
@dennissivia dennissivia requested a review from a team August 23, 2019 20:25
@codecov
Copy link

codecov bot commented Aug 23, 2019

Codecov Report

Merging #923 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #923      +/-   ##
==========================================
+ Coverage   97.34%   97.34%   +<.01%     
==========================================
  Files         154      154              
  Lines        2487     2489       +2     
  Branches      323      324       +1     
==========================================
+ Hits         2421     2423       +2     
  Misses         62       62              
  Partials        4        4

1 similar comment
@codecov
Copy link

codecov bot commented Aug 23, 2019

Codecov Report

Merging #923 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #923      +/-   ##
==========================================
+ Coverage   97.34%   97.34%   +<.01%     
==========================================
  Files         154      154              
  Lines        2487     2489       +2     
  Branches      323      324       +1     
==========================================
+ Hits         2421     2423       +2     
  Misses         62       62              
  Partials        4        4

Copy link
Contributor

@wilhelmklopp wilhelmklopp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@dennissivia dennissivia merged commit 3748772 into master Aug 26, 2019
@dennissivia dennissivia deleted the dont-post-without-installed-app branch August 26, 2019 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't send ephemeral message unless app is in channel
2 participants