diff --git a/src/components/eventContent.vue b/src/components/eventContent.vue index 80a6980..4633f6d 100644 --- a/src/components/eventContent.vue +++ b/src/components/eventContent.vue @@ -52,6 +52,10 @@ export default { compact: { type: Boolean, default: false + }, + onUpdate: { + type: Function, + default: ()=>{} } }, methods: { @@ -59,6 +63,9 @@ export default { return url.includes('mxc')?getMediaUrl(url):url; }, parseMessage + }, + updated() { + this.onUpdate(); } } diff --git a/src/components/fileUpload.vue b/src/components/fileUpload.vue index 5c779c8..5c32d3f 100644 --- a/src/components/fileUpload.vue +++ b/src/components/fileUpload.vue @@ -15,6 +15,7 @@ diff --git a/src/components/newMessage.vue b/src/components/newMessage.vue index f357da0..5e82434 100644 --- a/src/components/newMessage.vue +++ b/src/components/newMessage.vue @@ -2,7 +2,7 @@