fix: do not overwrite status drafts (#1822)
parent
8c783204d3
commit
d810b2de3a
|
@ -129,14 +129,14 @@ export function useDraft(
|
|||
export function mentionUser(account: mastodon.v1.Account) {
|
||||
openPublishDialog('dialog', getDefaultDraft({
|
||||
status: `@${account.acct} `,
|
||||
}), true)
|
||||
}))
|
||||
}
|
||||
|
||||
export function directMessageUser(account: mastodon.v1.Account) {
|
||||
openPublishDialog('dialog', getDefaultDraft({
|
||||
status: `@${account.acct} `,
|
||||
visibility: 'direct',
|
||||
}), true)
|
||||
}))
|
||||
}
|
||||
|
||||
export function clearEmptyDrafts() {
|
||||
|
|
Loading…
Reference in New Issue