diff --git a/src/matrix/room/timeline/Timeline.js b/src/matrix/room/timeline/Timeline.js index 614fa247..9a533c1c 100644 --- a/src/matrix/room/timeline/Timeline.js +++ b/src/matrix/room/timeline/Timeline.js @@ -279,6 +279,12 @@ export class Timeline { } } + /** + * Creates a new entry based on two related entries + * @param {EventEntry} entry an entry + * @param {EventEntry} relatedEntry `entry` specifies something about this entry (eg: this entry is redacted) + * @returns a new entry or undefined + */ _createEntryFromRelatedEntries(entry, relatedEntry) { if (entry.isRedaction) { const newEntry = relatedEntry.clone();