fix: don't send quote notification if quoter is private
This commit is contained in:
parent
47124bcc71
commit
946f78a90b
1 changed files with 1 additions and 1 deletions
|
@ -1318,7 +1318,7 @@ impl DataManager {
|
|||
|
||||
// send notification
|
||||
// this would look better if rustfmt didn't give up on this line
|
||||
if owner.id != rt.owner {
|
||||
if owner.id != rt.owner && !owner.settings.private_profile {
|
||||
self.create_notification(
|
||||
Notification::new(
|
||||
format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue