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

for groups to disable expiry notfs look for both expiration/reminder tags #2397

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

havetisyan
Copy link
Collaborator

@havetisyan havetisyan commented Nov 7, 2023

For role members, we're looking for zms.DisableExpirationNotifications tags for disabling expiration notifications and zms.DisableReminderNotifications for disabling review reminder notifications.

For group members, we don't have review reminder - only expirations. However, the code was looking for zms.DisableReminderNotifications tag to disable expiration notifications which is inconsistent with role members.

So the code now looks at both tags for group members. zms.DisableExpirationNotifications is the correct tag name and zms.DisableReminderNotifications for backward compatibility

Description

Contribution Checklist:

  • The pull request does not introduce any breaking changes
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Attach Screenshots (Optional)

…tags

Signed-off-by: Henry Avetisyan <hga@yahooinc.com>
@abvaidya abvaidya merged commit ecb9f46 into master Nov 7, 2023
2 checks passed
@abvaidya abvaidya deleted the disable-group-notf branch November 7, 2023 16: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.

2 participants