Moderator notes WIP (#144):

Displaying the nickname at time of note creation if it changed.
This commit is contained in:
John Livingston
2024-07-31 21:55:20 +02:00
parent 70f702f78e
commit 48763e6173
7 changed files with 17 additions and 5 deletions

View File

@ -12,6 +12,7 @@ export default class MUCNoteOccupantView extends CustomElement {
static get properties () {
return {
model: { type: Object, attribute: true },
note: { type: Object, attribute: true }, // optional associated note
full_display: { type: Boolean, attribute: true }
}
}
@ -21,7 +22,7 @@ export default class MUCNoteOccupantView extends CustomElement {
}
render () {
return tplMucNoteOccupant(this, this.model)
return tplMucNoteOccupant(this, this.model, this.note)
}
}