Sfoglia il codice sorgente

Only inform new users that the room is not anonymous

instead of informing all users every time someone enters the room.
JC Brand 7 anni fa
parent
commit
d0a97fe3c2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/converse-muc-views.js

+ 1 - 1
src/converse-muc-views.js

@@ -1215,7 +1215,7 @@
                      *  (XMLElement) stanza: The original stanza received.
                      */
                     const code = stat.getAttribute('code');
-                    if (code === '110') { return; }
+                    if (code === '110' || (code === '100' && !is_self)) { return; }
                     if (code in _converse.muc.info_messages) {
                         return _converse.muc.info_messages[code];
                     }