feat: copy content warning when replying (#1672)

zio/stable
Basil 2023-02-28 15:10:04 -07:00 committed by GitHub
parent ddb765c4a2
commit 1445a57d8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ export function getReplyDraft(status: mastodon.v1.Status) {
return getDefaultDraft({ return getDefaultDraft({
initialText: '', initialText: '',
inReplyToId: status!.id, inReplyToId: status!.id,
sensitive: status.sensitive,
spoilerText: status.spoilerText,
visibility: status.visibility, visibility: status.visibility,
mentions: accountsToMention, mentions: accountsToMention,
language: status.language, language: status.language,