Selaa lähdekoodia

Only inform new users that the room is not anonymous

instead of informing all users every time someone enters the room.
JC Brand 7 vuotta sitten
vanhempi
commit
d0a97fe3c2
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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];
                     }