From 612ca9fcc84fa8c83f32eb4f0614f51789bf7af6 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Mon, 1 Feb 2021 14:16:34 -0800 Subject: [PATCH] Replying sets visibilty of status being replied to --- .../Sources/ViewModels/View Models/NewStatusViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ViewModels/Sources/ViewModels/View Models/NewStatusViewModel.swift b/ViewModels/Sources/ViewModels/View Models/NewStatusViewModel.swift index d427c09..a2ce3da 100644 --- a/ViewModels/Sources/ViewModels/View Models/NewStatusViewModel.swift +++ b/ViewModels/Sources/ViewModels/View Models/NewStatusViewModel.swift @@ -35,7 +35,7 @@ public final class NewStatusViewModel: ObservableObject { self.environment = environment inReplyToViewModel = inReplyTo events = eventsSubject.eraseToAnyPublisher() - visibility = identityContext.identity.preferences.postingDefaultVisibility + visibility = inReplyTo?.visibility ?? identityContext.identity.preferences.postingDefaultVisibility if let inReplyTo = inReplyTo { switch inReplyTo.visibility {