Properly cache message format.

This commit is contained in:
Danila Fedorin 2021-07-16 13:43:40 -07:00
parent 9e1f57a2b1
commit 031ce42831

View file

@ -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;
} }