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:
Johann150 2022-08-05 08:36:59 +02:00
parent 09a7eabda1
commit cbefddc071
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -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,
});
}
}, {