From cbefddc07148d59e643bc91f9ceb1d7fa3553255 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Fri, 5 Aug 2022 08:36:59 +0200 Subject: [PATCH] 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. --- packages/client/src/components/renote-button.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/client/src/components/renote-button.vue b/packages/client/src/components/renote-button.vue index 3bcbe665b..a067b884f 100644 --- a/packages/client/src/components/renote-button.vue +++ b/packages/client/src/components/renote-button.vue @@ -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, }); } }, {