mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-18 00:06:57 +01:00
Update comment based on 'small object' version of code.
This commit is contained in:
parent
c620e9c930
commit
3e4314e7f3
@ -42,7 +42,7 @@ export class BaseTextTile extends BaseMessageTile {
|
||||
get body() {
|
||||
const body = this._getBody();
|
||||
const format = this._getBodyFormat();
|
||||
// body.string is a string, so we can check for difference by just
|
||||
// body is a string, so we can check for difference by just
|
||||
// doing an equality check
|
||||
// Even if the body hasn't changed, but the format has, we need
|
||||
// to re-fill our cache.
|
||||
|
Loading…
x
Reference in New Issue
Block a user