de-hash rooms

pull/351/head
Matthew Hodgson 2015-11-09 11:53:50 +00:00
parent a3082753ef
commit 66add5673b
1 changed files with 1 additions and 1 deletions

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 (