From 4ccf5d21a49b1aabde6e08e8e0d6b2f947864ed3 Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sat, 13 May 2023 13:50:07 -0400 Subject: [PATCH] Disable boost to original audience for the users own DMs Closes #382 --- Tusker/Views/Status/StatusCollectionViewCell.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Tusker/Views/Status/StatusCollectionViewCell.swift b/Tusker/Views/Status/StatusCollectionViewCell.swift index e448c939..613a3ebf 100644 --- a/Tusker/Views/Status/StatusCollectionViewCell.swift +++ b/Tusker/Views/Status/StatusCollectionViewCell.swift @@ -145,7 +145,9 @@ extension StatusCollectionViewCell { guard mastodonController.loggedIn else { return false } - if status.visibility == .direct || status.visibility == .private { + if status.visibility == .direct { + return false + } else if status.visibility == .private { if mastodonController.instanceFeatures.boostToOriginalAudience, status.account.id == mastodonController.account?.id { return true