forked from mystiq/hydrogen-web
also define param
This commit is contained in:
parent
8201a85c47
commit
184a16a194
1 changed files with 3 additions and 3 deletions
|
@ -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 a new issue