Message search results: display original nickname if has changed.

This commit is contained in:
John Livingston
2024-08-06 17:54:07 +02:00
parent df75659a05
commit b8db486410
42 changed files with 856 additions and 401 deletions

View File

@ -11,7 +11,8 @@ import '../styles/muc-mam-search-occupant.scss'
export default class MUCMamSearchOccupantView extends CustomElement {
static get properties () {
return {
model: { type: Object, attribute: true }
model: { type: Object, attribute: true },
message: { type: Object, attribute: true } // optional message.
}
}
@ -20,7 +21,7 @@ export default class MUCMamSearchOccupantView extends CustomElement {
}
render () {
return tplMucMamSearchOccupant(this, this.model)
return tplMucMamSearchOccupant(this, this.model, this.message)
}
}