Просмотр исходного кода

__super__ is undefined because it's not an override

JC Brand 7 лет назад
Родитель
Сommit
23a26cfdf5
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      src/converse-chatboxes.js

+ 1 - 3
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 ||