Port membertile fix

pull/21833/head
David Baker 2015-09-22 16:51:16 +01:00
parent 3838569625
commit 96627d4477
1 changed files with 3 additions and 1 deletions

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);