diff --git a/src/client/components/note.vue b/src/client/components/note.vue index a731f9a36..31acd4900 100644 --- a/src/client/components/note.vue +++ b/src/client/components/note.vue @@ -551,7 +551,7 @@ export default Vue.extend({ noteId: this.appearNote.id }); - this.$root.post({ initialNote: this.appearNote, renote: this.appearNote.renote, reply: this.appearNote.reply }); + this.$root.post({ initialNote: this.appearNote, renote: this.appearNote.renote, reply: this.appearNote.reply, channel: this.appearNote.channel }); }); }, diff --git a/src/client/components/post-form-dialog.vue b/src/client/components/post-form-dialog.vue index 14227fec5..8a56dd24e 100644 --- a/src/client/components/post-form-dialog.vue +++ b/src/client/components/post-form-dialog.vue @@ -16,6 +16,7 @@ :initial-text="initialText" :initial-note="initialNote" :instant="instant" + :channel="channel" @posted="onPosted" @cancel="onCanceled" style="border-radius: var(--radius);"/> @@ -62,7 +63,11 @@ export default Vue.extend({ type: Boolean, required: false, default: false - } + }, + channel: { + type: Object, + required: false + }, }, data() {