mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
add more jsdoc comments
This commit is contained in:
parent
f76217dcce
commit
7adce08eee
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user