Disable boost to original audience for the users own DMs

Closes #382
This commit is contained in:
Shadowfacts 2023-05-13 13:50:07 -04:00
parent 9ac1c43511
commit 4ccf5d21a4
1 changed files with 3 additions and 1 deletions

View File

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