JC Brand 6 lat temu
rodzic
commit
c494f4267a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/converse-chatview.js

+ 1 - 1
src/converse-chatview.js

@@ -427,7 +427,7 @@ converse.plugins.add('converse-chatview', {
                  * messages, based on whether the contact's client supports
                  * it.
                  */
-                if (!options.show_spoiler_button || this.model.get('type') === 'chatroom') {
+                if (!options.show_spoiler_button || this.model.get('type') === _converse.CHATROOMS_TYPE) {
                     return;
                 }
                 const contact_jid = this.model.get('jid');