mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +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) {
|
||||
this._updateReactions();
|
||||
}
|
||||
this._updateReplyTileIfNeeded(options.tilesCreator);
|
||||
this._updateReplyTileIfNeeded(options.tilesCreator, undefined);
|
||||
}
|
||||
|
||||
get _mediaRepository() {
|
||||
@ -121,11 +121,11 @@ export class BaseMessageTile extends SimpleTile {
|
||||
if (action.shouldUpdate) {
|
||||
this._updateReactions();
|
||||
}
|
||||
this._updateReplyTileIfNeeded(tilesCreator);
|
||||
this._updateReplyTileIfNeeded(tilesCreator, param);
|
||||
return action;
|
||||
}
|
||||
|
||||
_updateReplyTileIfNeeded(tilesCreator) {
|
||||
_updateReplyTileIfNeeded(tilesCreator, param) {
|
||||
const replyEntry = this._entry.contextEntry;
|
||||
if (replyEntry) {
|
||||
// this is an update to contextEntry used for replyPreview
|
||||
|
Loading…
Reference in New Issue
Block a user