mirror of
https://github.com/metabolist/metatext.git
synced 2025-01-18 17:35:24 +00:00
Replying sets visibilty of status being replied to
This commit is contained in:
parent
0bb63862d5
commit
612ca9fcc8
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ public final class NewStatusViewModel: ObservableObject {
|
||||||
self.environment = environment
|
self.environment = environment
|
||||||
inReplyToViewModel = inReplyTo
|
inReplyToViewModel = inReplyTo
|
||||||
events = eventsSubject.eraseToAnyPublisher()
|
events = eventsSubject.eraseToAnyPublisher()
|
||||||
visibility = identityContext.identity.preferences.postingDefaultVisibility
|
visibility = inReplyTo?.visibility ?? identityContext.identity.preferences.postingDefaultVisibility
|
||||||
|
|
||||||
if let inReplyTo = inReplyTo {
|
if let inReplyTo = inReplyTo {
|
||||||
switch inReplyTo.visibility {
|
switch inReplyTo.visibility {
|
||||||
|
|
Loading…
Reference in a new issue