diff --git a/src/renderer/components/organisms/Toot.vue b/src/renderer/components/organisms/Toot.vue
index 5ae388be..9cf07c3e 100644
--- a/src/renderer/components/organisms/Toot.vue
+++ b/src/renderer/components/organisms/Toot.vue
@@ -25,9 +25,7 @@
role="article"
aria-label="toot"
>
-
0
@@ -684,11 +677,17 @@ export default {
id: this.poll.id,
choices: choices
})
- this.pollResponse = res
+ const status = Object.assign({}, this.originalMessage, {
+ poll: res
+ })
+ this.$emit('update', status)
},
async refresh(id) {
const res = await this.$store.dispatch('organisms/Toot/refresh', id)
- this.pollResponse = res
+ const status = Object.assign({}, this.originalMessage, {
+ poll: res
+ })
+ this.$emit('update', status)
},
toggleEmojiPicker() {
this.openEmojiPicker = !this.openEmojiPicker