-
Notifications
You must be signed in to change notification settings - Fork 154
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
Allow excluding organisation members from subscription events #125
Allow excluding organisation members from subscription events #125
Comments
I'd like to work on this! Thanks. |
That's awesome, thanks @enolal826 🎉 |
Hello! Two aspects:
It means that for the command Thanks! |
Let me know, if this resolves your questions. |
Ok, I see flags as Subscription fields a good idea. It should also be more efficient than having it in an array of strings as we won't have to iterate just to check if the flag is set. Maybe another struct SubscriptionFlags could be included. Thanks @hanzei! |
There should be an option to not post issue and PR events from organisation members. If the flag
--exclude-org-member
is provided when subscribing to a repo, events from organisation members will not trigger notification.If not organisation is set (https://github.com/mattermost/mattermost-plugin-github/blob/master/plugin.json#L45-L48), this flag has no effect.
The text was updated successfully, but these errors were encountered: