summaryrefslogtreecommitdiff
path: root/src/client/components
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/components')
-rw-r--r--src/client/components/timeline.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/components/timeline.vue b/src/client/components/timeline.vue
index 234ed6b07c..bd1901a624 100644
--- a/src/client/components/timeline.vue
+++ b/src/client/components/timeline.vue
@@ -50,7 +50,8 @@ export default Vue.extend({
});
const prepend = note => {
- (this.$refs.tl as any).prepend(note);
+ const _note = JSON.parse(JSON.stringify(note)); // deepcopy
+ (this.$refs.tl as any).prepend(_note);
if (this.sound) {
this.$root.sound(note.userId === this.$store.state.i.id ? 'noteMy' : 'note');