1
0
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:
Bruno Windels
2019-05-14 15:25:47 +01:00
parent df6012c58d
commit 455f52f1f5

View File

@@ -1041,9 +1041,6 @@ Room.prototype._addLiveEvent = function(event, duplicateStrategy) {
// report replacedEvent and not originalEvent because replaceEvent was in the timeline so far
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
return;
}