mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
de-hash rooms
This commit is contained in:
parent
a3082753ef
commit
66add5673b
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user