Preserve visibility, sensitivity and spoiler text in replies.
This commit is contained in:
parent
a2e4014b56
commit
299a0236dc
@ -324,6 +324,13 @@ updateDraft draftMsg draft =
|
||||
draft.status
|
||||
else
|
||||
mention ++ " " ++ draft.status
|
||||
, sensitive = Maybe.withDefault False status.sensitive
|
||||
, spoiler_text =
|
||||
if status.spoiler_text == "" then
|
||||
Nothing
|
||||
else
|
||||
Just status.spoiler_text
|
||||
, visibility = status.visibility
|
||||
}
|
||||
! [ Dom.focus "status" |> Task.attempt (always NoOp) ]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user