mastodon/app
Renato "Lond" Cerqueira e56404be41 When must_be_following_dm is on, only notify if recipient dm'ed user (#6283)
* When must_be_following_dm is on, only notify if recipient dm'ed user
Currently, when must_be_following_dm is on, if a user sends a direct
message replying to any status from the recipient, the recipient gets a
notification. This should not be the case, as if the recipient posted
something publicly this can be used to spam their notifications.

* Refactor replied_to_status_is_direct_message?
Following suggestion in PR
2018-01-18 16:12:10 +01:00
..
controllers
helpers
javascript
lib
mailers
models
policies
presenters
serializers
services When must_be_following_dm is on, only notify if recipient dm'ed user (#6283) 2018-01-18 16:12:10 +01:00
validators
views
workers