mirror of https://github.com/vector-im/riot-web
Port membertile fix
parent
3838569625
commit
96627d4477
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue