catch hidden event being RM
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
14903274c0
commit
615d96a065
1 changed files with 4 additions and 0 deletions
|
@ -341,6 +341,10 @@ module.exports = React.createClass({
|
||||||
|
|
||||||
// Ignore redacted/hidden member events
|
// Ignore redacted/hidden member events
|
||||||
if (!this._shouldShowEvent(collapsedMxEv)) {
|
if (!this._shouldShowEvent(collapsedMxEv)) {
|
||||||
|
// If this hidden event is the RM and in or at end of a MELS put RM after MELS.
|
||||||
|
if (collapsedMxEv.getId() === this.props.readMarkerEventId) {
|
||||||
|
readMarkerInMels = true;
|
||||||
|
}
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue