mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +01:00
also define param
This commit is contained in:
parent
8201a85c47
commit
184a16a194
@ -28,7 +28,7 @@ export class BaseMessageTile extends SimpleTile {
|
|||||||
if (this._entry.annotations || this._entry.pendingAnnotations) {
|
if (this._entry.annotations || this._entry.pendingAnnotations) {
|
||||||
this._updateReactions();
|
this._updateReactions();
|
||||||
}
|
}
|
||||||
this._updateReplyTileIfNeeded(options.tilesCreator);
|
this._updateReplyTileIfNeeded(options.tilesCreator, undefined);
|
||||||
}
|
}
|
||||||
|
|
||||||
get _mediaRepository() {
|
get _mediaRepository() {
|
||||||
@ -121,11 +121,11 @@ export class BaseMessageTile extends SimpleTile {
|
|||||||
if (action.shouldUpdate) {
|
if (action.shouldUpdate) {
|
||||||
this._updateReactions();
|
this._updateReactions();
|
||||||
}
|
}
|
||||||
this._updateReplyTileIfNeeded(tilesCreator);
|
this._updateReplyTileIfNeeded(tilesCreator, param);
|
||||||
return action;
|
return action;
|
||||||
}
|
}
|
||||||
|
|
||||||
_updateReplyTileIfNeeded(tilesCreator) {
|
_updateReplyTileIfNeeded(tilesCreator, param) {
|
||||||
const replyEntry = this._entry.contextEntry;
|
const replyEntry = this._entry.contextEntry;
|
||||||
if (replyEntry) {
|
if (replyEntry) {
|
||||||
// this is an update to contextEntry used for replyPreview
|
// this is an update to contextEntry used for replyPreview
|
||||||
|
Loading…
Reference in New Issue
Block a user