diff --git a/src/domain/session/room/timeline/tiles/SimpleTile.js b/src/domain/session/room/timeline/tiles/SimpleTile.js index 56c4c002..14aade54 100644 --- a/src/domain/session/room/timeline/tiles/SimpleTile.js +++ b/src/domain/session/room/timeline/tiles/SimpleTile.js @@ -46,7 +46,7 @@ export class SimpleTile extends ViewModel { _updateDateSeparator(prev) { let hasDateSeparator; if (prev instanceof SimpleTile) { - if (prev && prev._date) { + if (prev && prev._date && this._date) { hasDateSeparator = prev._date.getFullYear() !== this._date.getFullYear() || prev._date.getMonth() !== this._date.getMonth() || prev._date.getDate() !== this._date.getDate();