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
remove logging
This commit is contained in:
@@ -1041,9 +1041,6 @@ Room.prototype._addLiveEvent = function(event, duplicateStrategy) {
|
|||||||
// report replacedEvent and not originalEvent because replaceEvent was in the timeline so far
|
// report replacedEvent and not originalEvent because replaceEvent was in the timeline so far
|
||||||
this.emit("Room.replaceEvent", replacedEvent, event, this);
|
this.emit("Room.replaceEvent", replacedEvent, event, this);
|
||||||
}
|
}
|
||||||
else {
|
|
||||||
console.warn(`could not find replaced event for target id ${replacedEventId} and if ${event.getId()}, body: ${event.getContent().body}`);
|
|
||||||
}
|
|
||||||
// we don't add the event because the event type would get rendered
|
// we don't add the event because the event type would get rendered
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user