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
catch hidden event being RM
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user