Merge pull request #4637 from matrix-org/t3chguy/edit_highlights

Fix event highlights not being updated to reflect edits
pull/21833/head
Michael Telatynski 2020-05-25 19:05:50 +01:00 committed by GitHub
commit 608a1feb03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ export default createReactClass({
},
shouldHighlight: function() {
const actions = this.context.getPushActionsForEvent(this.props.mxEvent);
const actions = this.context.getPushActionsForEvent(this.props.mxEvent.replacingEvent() || this.props.mxEvent);
if (!actions || !actions.tweaks) { return false; }
// don't show self-highlights from another of our clients