mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
cleanup
This commit is contained in:
parent
27fd2739fe
commit
7c03f21cd0
@ -133,8 +133,7 @@ export class BaseMessageTile extends SimpleTile {
|
|||||||
const action = this._replyTile?.updateEntry(replyEntry, param);
|
const action = this._replyTile?.updateEntry(replyEntry, param);
|
||||||
if (action?.shouldReplace || !this._replyTile) {
|
if (action?.shouldReplace || !this._replyTile) {
|
||||||
this.disposeTracked(this._replyTile);
|
this.disposeTracked(this._replyTile);
|
||||||
const tileClassForEntry = this._options.tileClassForEntry;
|
const ReplyTile = this._options.tileClassForEntry(replyEntry);
|
||||||
const ReplyTile = tileClassForEntry(replyEntry);
|
|
||||||
if (ReplyTile) {
|
if (ReplyTile) {
|
||||||
this._replyTile = new ReplyTile(replyEntry, this._options);
|
this._replyTile = new ReplyTile(replyEntry, this._options);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user