forked from mystiq/hydrogen-web
Properly cache message format.
This commit is contained in:
parent
9e1f57a2b1
commit
031ce42831
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export class BaseTextTile extends BaseMessageTile {
|
||||||
// or else the equality check in the binding will always fail.
|
// or else the equality check in the binding will always fail.
|
||||||
// So cache it here.
|
// So cache it here.
|
||||||
this._messageBody = this._parseBody(body, format);
|
this._messageBody = this._parseBody(body, format);
|
||||||
this._format = body.format;
|
this._format = format;
|
||||||
}
|
}
|
||||||
return this._messageBody;
|
return this._messageBody;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue