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
try to make hiding events work with read markers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -341,6 +341,9 @@ module.exports = React.createClass({
|
|||||||
let last = (i == lastShownEventIndex);
|
let last = (i == lastShownEventIndex);
|
||||||
|
|
||||||
if (!this._shouldShowEvent(mxEv)) {
|
if (!this._shouldShowEvent(mxEv)) {
|
||||||
|
if (mxEv.getId() === this.props.readMarkerEventId) {
|
||||||
|
ret.push(this._getReadMarkerTile(this.props.readMarkerVisible));
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user