WIP fixing up the member list - just needs CSS and testing

This commit is contained in:
Matthew Hodgson 2015-08-15 03:06:21 +01:00
parent 80c3b2c8a3
commit e3798e1b85
5 changed files with 296 additions and 16 deletions

View file

@ -61,7 +61,9 @@ module.exports = {
function updateUserState(event, user) {
var tile = self.refs[user.userId];
if (tile) {
tile.forceUpdate();
// update the whole list to get the order right, not just this cell...
self.forceUpdate();
// tile.forceUpdate();
}
}
MatrixClientPeg.get().on("User.presence", updateUserState);