You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-10-22 06:12:23 +03:00
Port membertile fix
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user