Replying sets visibilty of status being replied to

This commit is contained in:
Justin Mazzocchi 2021-02-01 14:16:34 -08:00
parent 0bb63862d5
commit 612ca9fcc8
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
1 changed files with 1 additions and 1 deletions

View File

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