Commit d0a97fe3 authored by JC Brand's avatar JC Brand

Only inform new users that the room is not anonymous

instead of informing all users every time someone enters the room.
parent dc97488b
......@@ -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];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment