forked from FoundKeyGang/FoundKey
fix: copy visibility for renotes
The backend does not allow follower only and direct notes to be renoted but these are prohibited for the renote button anyway.
This commit is contained in:
parent
09a7eabda1
commit
cbefddc071
1 changed files with 2 additions and 1 deletions
|
@ -63,7 +63,8 @@ export default defineComponent({
|
|||
icon: 'fas fa-retweet',
|
||||
action: () => {
|
||||
os.api('notes/create', {
|
||||
renoteId: props.note.id
|
||||
renoteId: props.note.id,
|
||||
visibility: props.note.visibility,
|
||||
});
|
||||
}
|
||||
}, {
|
||||
|
|
Loading…
Reference in a new issue