mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-05 05:38:41 +03:00
try to make hiding events work with read markers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a097357baf
commit
cebb7182f0
1 changed files with 3 additions and 0 deletions
|
@ -341,6 +341,9 @@ module.exports = React.createClass({
|
|||
let last = (i == lastShownEventIndex);
|
||||
|
||||
if (!this._shouldShowEvent(mxEv)) {
|
||||
if (mxEv.getId() === this.props.readMarkerEventId) {
|
||||
ret.push(this._getReadMarkerTile(this.props.readMarkerVisible));
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue