You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-05 17:02:07 +03:00
fix lint
This commit is contained in:
@@ -1143,7 +1143,8 @@ Room.prototype.addPendingEvent = function(event, txnId) {
|
|||||||
|
|
||||||
if (event.getType() === "m.room.redaction") {
|
if (event.getType() === "m.room.redaction") {
|
||||||
const redactId = event.event.redacts;
|
const redactId = event.event.redacts;
|
||||||
let redactedEvent = this._pendingEventList && this._pendingEventList.find(e => e.getId() === redactId);
|
let redactedEvent = this._pendingEventList &&
|
||||||
|
this._pendingEventList.find(e => e.getId() === redactId);
|
||||||
if (!redactedEvent) {
|
if (!redactedEvent) {
|
||||||
redactedEvent = this.getUnfilteredTimelineSet().findEventById(redactId);
|
redactedEvent = this.getUnfilteredTimelineSet().findEventById(redactId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user