fix NPE on name (related to LL?)
This commit is contained in:
parent
f65126119f
commit
ece041d059
1 changed files with 1 additions and 0 deletions
|
@ -273,6 +273,7 @@ module.exports = React.createClass({
|
||||||
});
|
});
|
||||||
|
|
||||||
let name = this.state.roomName;
|
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
|
name = name.replace(":", ":\u200b"); // add a zero-width space to allow linewrapping after the colon
|
||||||
|
|
||||||
let badgeContent;
|
let badgeContent;
|
||||||
|
|
Loading…
Reference in a new issue