Port membertile fix

This commit is contained in:
David Baker 2015-09-22 16:51:16 +01:00
parent 3838569625
commit 96627d4477

View file

@ -58,7 +58,9 @@ module.exports = {
function updateUserState(event, user) { function updateUserState(event, user) {
var tile = self.refs[user.userId]; var tile = self.refs[user.userId];
if (tile) { 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); MatrixClientPeg.get().on("User.presence", updateUserState);