fix: don't send quote notification if quoter is private

This commit is contained in:
trisua 2025-05-19 19:56:34 -04:00
parent 47124bcc71
commit 946f78a90b

View file

@ -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!(