Add eventId getter

This commit is contained in:
Eric Eastwood 2022-02-25 02:07:42 -06:00
parent a6e3e3a7b4
commit 4bd169fd89

View file

@ -49,6 +49,10 @@ export class BaseMessageTile extends SimpleTile {
return `https://matrix.to/#/${encodeURIComponent(this.sender)}`; return `https://matrix.to/#/${encodeURIComponent(this.sender)}`;
} }
get eventId() {
return this._entry.id;
}
get displayName() { get displayName() {
return this._entry.displayName || this.sender; return this._entry.displayName || this.sender;
} }