fix(notifications): handle unknown users when filtering tagged mentions
The access check from the previous commit crashed on tags of unknown users in followers-only posts, so such posts failed to be received. Also add tests for the check.
This commit is contained in:
parent
df5e756862
commit
cccbb39309
3 changed files with 104 additions and 3 deletions
1
changelog.d/mention-notify-access.security
Normal file
1
changelog.d/mention-notify-access.security
Normal file
|
|
@ -0,0 +1 @@
|
|||
Do not notify tagged users who cannot see the post
|
||||
Loading…
Add table
Add a link
Reference in a new issue