Skip to content

Don't validate reminder author#2080

Merged
jb3 merged 2 commits into
mainfrom
mbaruh/reminders-fix
Feb 11, 2022
Merged

Don't validate reminder author#2080
jb3 merged 2 commits into
mainfrom
mbaruh/reminders-fix

Conversation

@mbaruh
Copy link
Copy Markdown
Member

@mbaruh mbaruh commented Feb 11, 2022

Reminder validation relied on the member cache which might not be properly filled, which caused some reminders to not be sent.

This PR removes this part of the validation. This can cause reminders to be sent for users who are no longer in the server, but this seems negligible.

While #1919 might be more thorough, the changes here are very simple and will allow us to have the reminders cog again.

Validation relies on the cache which might not be properly filled. This can cause reminders to be sent for users who are no longer in the server, which seems negligible.
@mbaruh mbaruh requested review from jb3 and ks129 as code owners February 11, 2022 13:53
@mbaruh
Copy link
Copy Markdown
Member Author

mbaruh commented Feb 11, 2022

Don't be alarmed by the line count, the merge commit brought back the entire file. The actual change is the first commit which is an 8-line change

@jb3 jb3 closed this Feb 11, 2022
@jb3 jb3 reopened this Feb 11, 2022
@jb3 jb3 merged commit 2376aab into main Feb 11, 2022
@jb3 jb3 deleted the mbaruh/reminders-fix branch February 11, 2022 14:05
@MarkKoz MarkKoz mentioned this pull request May 29, 2022
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.

3 participants