mirror of
https://github.com/vector-im/element-web.git
synced 2025-10-28 23:01:03 +01:00
fix NPE on name (related to LL?)
This commit is contained in:
parent
f65126119f
commit
ece041d059
@ -273,6 +273,7 @@ module.exports = React.createClass({
|
||||
});
|
||||
|
||||
let name = this.state.roomName;
|
||||
if (name == undefined || name == null) name = '';
|
||||
name = name.replace(":", ":\u200b"); // add a zero-width space to allow linewrapping after the colon
|
||||
|
||||
let badgeContent;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user