From e7e87ecfb925f5f9217b49da61abe1dd2aaee559 Mon Sep 17 00:00:00 2001 From: Ayke Halder Date: Tue, 3 May 2022 20:17:43 +0200 Subject: [PATCH] (feature) add method-callback to signal 'message-action-handler' This enables custom action handlers to make a callback to the default action-handler. ``` ``` --- src/lib/Room/Room.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Room/Room.vue b/src/lib/Room/Room.vue index 80017ae6..c94d5434 100644 --- a/src/lib/Room/Room.vue +++ b/src/lib/Room/Room.vue @@ -514,7 +514,7 @@ export default { this.messageSelectionEnabled = true return default: - return this.$emit('message-action-handler', { action, message }) + return this.$emit('message-action-handler', { action, message, methodCallback: this.messageActionHandler }) } }, messageSelectionActionHandler(action) {