From 726af2e8ea6e5a313f7161c95f9eb04d269bdd0b Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Tue, 20 Dec 2022 16:12:43 -0500 Subject: [PATCH] Fall back to allowing reblogs of unsupported visibilities --- .../MastodonUI/View/Content/StatusView+ViewModel.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MastodonSDK/Sources/MastodonUI/View/Content/StatusView+ViewModel.swift b/MastodonSDK/Sources/MastodonUI/View/Content/StatusView+ViewModel.swift index 17b87166a..029eb540f 100644 --- a/MastodonSDK/Sources/MastodonUI/View/Content/StatusView+ViewModel.swift +++ b/MastodonSDK/Sources/MastodonUI/View/Content/StatusView+ViewModel.swift @@ -161,11 +161,11 @@ extension StatusView { ) .map { visibility, isMyself in switch visibility { - case .public, .unlisted: + case .public, .unlisted, ._other: return true case .private where isMyself: return true - case .private, .direct, ._other: + case .private, .direct: return false } }