We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c69608 commit d2d0d00Copy full SHA for d2d0d00
src/ChatWindow/ChatWindow.vue
@@ -75,7 +75,8 @@ export default {
75
},
76
showFiles: { type: Boolean, default: true },
77
showEmojis: { type: Boolean, default: true },
78
- showReactionEmojis: { type: Boolean, default: true }
+ showReactionEmojis: { type: Boolean, default: true },
79
+ newMessage: { type: Object, default: null }
80
81
82
data() {
@@ -104,6 +105,10 @@ export default {
104
105
if (!partcipantsValid(user))
106
throw 'Participants object is not valid! Must contain _id[String, Number] and username[String]'
107
})
108
+ },
109
+
110
+ newMessage(val) {
111
+ this.$set(this.messages, val.index, val.message)
112
}
113
114
0 commit comments