fix(notifications): skip the filter check for objects without content
Regex.match? raised on objects without content (for example posts with only attachments), so no notifications were created for them when the recipient had an irreversible filter.
This commit is contained in:
parent
90eb5e4015
commit
21a5d1dca2
3 changed files with 21 additions and 0 deletions
1
changelog.d/notification-filter-nil-content.fix
Normal file
1
changelog.d/notification-filter-nil-content.fix
Normal file
|
|
@ -0,0 +1 @@
|
|||
Do not crash when creating notifications for posts without content while the user has filters
|
||||
Loading…
Add table
Add a link
Reference in a new issue