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 5c91a73 commit 60b872aCopy full SHA for 60b872a
src/ChatWindow/ChatWindow.vue
@@ -217,7 +217,7 @@ export default {
217
},
218
messageActionHandler(ev) {
219
this.$emit('messageActionHandler', {
220
- action: ev,
+ ...ev,
221
roomId: this.room.roomId
222
})
223
src/ChatWindow/Room.vue
@@ -506,7 +506,7 @@ export default {
506
case 'deleteMessage':
507
return this.$emit('deleteMessage', message._id)
508
default:
509
- return this.$emit('messageActionHandler', message)
+ return this.$emit('messageActionHandler', { action, message })
510
}
511
512
sendMessageReaction(messageReaction) {
0 commit comments