mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
use display name for room name change tiles
This commit is contained in:
parent
fafdf669db
commit
036b305c96
@ -24,6 +24,6 @@ export class RoomNameTile extends SimpleTile {
|
||||
|
||||
get announcement() {
|
||||
const content = this._entry.content;
|
||||
return `${this._entry.sender} named the room "${content.name}"`
|
||||
return `${this._entry.displayName || this._entry.sender} named the room "${content.name}"`
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user