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

Add support for Slack notifications #28

Merged
merged 1 commit into from Aug 27, 2019

Conversation

awesome-manuel
Copy link
Contributor

No description provided.

@richvdh
Copy link
Member

richvdh commented Jun 18, 2019

@awesome-manuel : thanks for contributing this. Unfortunately it's conflicted with our switch to go modules (#31) and the CI wasn't working at the time.

would you be able to update the patch?

Signed-off-by: Manuel Stahl <manuel.stahl@awesome-technologies.de>
@awesome-manuel
Copy link
Contributor Author

@richvdh Updated

@richvdh richvdh self-requested a review August 27, 2019 11:16
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

Thanks!

}
func (s *submitServer) submitGithubIssue(ctx context.Context, p parsedPayload, listingURL string, resp *submitResponse) error {
if s.ghClient == nil {
log.Println("GH issue submission disabled")
Copy link
Member

Choose a reason for hiding this comment

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

For the record: generally I prefer an early return to lots of else statements (hence return nil here), though I'm aware of counterarguments to it.

@richvdh richvdh merged commit de2fd6a into matrix-org:master Aug 27, 2019
@awesome-manuel awesome-manuel deleted the slack branch December 3, 2019 14:52
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.

None yet

2 participants