2
0
JC Brand 6 жил өмнө
parent
commit
c494f4267a

+ 1 - 1
src/converse-chatview.js

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