de-hash rooms

This commit is contained in:
Matthew Hodgson 2015-11-09 11:53:50 +00:00
parent a3082753ef
commit 66add5673b

View File

@ -52,7 +52,7 @@ module.exports = React.createClass({
var initial;
if (this.props.room.name[0])
initial = this.props.room.name[0].toUpperCase();
if (initial === '@' && this.props.room.name[1])
if ((initial === '@' || initial === '#') && this.props.room.name[1])
initial = this.props.room.name[1].toUpperCase();
return (