From 23a26cfdf593f28f2db5aad9598498b2f3c18745 Mon Sep 17 00:00:00 2001 From: JC Brand Date: Wed, 22 Aug 2018 11:41:38 +0200 Subject: [PATCH] __super__ is undefined because it's not an override --- src/converse-chatboxes.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/converse-chatboxes.js b/src/converse-chatboxes.js index a9ee480dc..d0b6b3002 100644 --- a/src/converse-chatboxes.js +++ b/src/converse-chatboxes.js @@ -488,9 +488,7 @@ * that contains the message stanza, if it was * contained, otherwise it's the message stanza itself. */ - const { _converse } = this.__super__, - { __ } = _converse, - archive = sizzle(`result[xmlns="${Strophe.NS.MAM}"]`, original_stanza).pop(), + const archive = sizzle(`result[xmlns="${Strophe.NS.MAM}"]`, original_stanza).pop(), spoiler = sizzle(`spoiler[xmlns="${Strophe.NS.SPOILER}"]`, original_stanza).pop(), delay = sizzle(`delay[xmlns="${Strophe.NS.DELAY}"]`, original_stanza).pop(), chat_state = stanza.getElementsByTagName(_converse.COMPOSING).length && _converse.COMPOSING ||