forked from mystiq/hydrogen-web
Add eventId getter
This commit is contained in:
parent
a6e3e3a7b4
commit
4bd169fd89
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue