implement the correct design for memberlist, modulo gemini

This commit is contained in:
Matthew Hodgson 2016-01-20 22:04:49 +00:00
parent 161cdef36e
commit 3aaf934c97
3 changed files with 14 additions and 11 deletions

View file

@ -72,7 +72,7 @@ module.exports = React.createClass({
},
render: function() {
var presenceClass = PRESENCE_CLASS[this.props.presenceState];
var presenceClass = PRESENCE_CLASS[this.props.presenceState] || "mx_EntityTile_offline";
var mainClassName = "mx_EntityTile ";
mainClassName += presenceClass;
if (this.state.hover) {