You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Check room ID matches
This commit is contained in:
@ -512,7 +512,9 @@ var TimelinePanel = React.createClass({
|
|||||||
// TODO: We should restrict this to only events in our timeline,
|
// TODO: We should restrict this to only events in our timeline,
|
||||||
// but possibly the event tile itself should just update when this
|
// but possibly the event tile itself should just update when this
|
||||||
// happens to save us re-rendering the whole timeline.
|
// happens to save us re-rendering the whole timeline.
|
||||||
this.forceUpdate();
|
if (ev.getRoomId() === this.props.timelineSet.room.roomId) {
|
||||||
|
this.forceUpdate();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onSync: function(state, prevState, data) {
|
onSync: function(state, prevState, data) {
|
||||||
|
Reference in New Issue
Block a user