From 900ebfe28984e273c511112b410a7d687f5ff709 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Fri, 16 Jul 2021 13:05:47 -0700 Subject: [PATCH] Properly pass children to list block --- src/domain/session/room/timeline/deserialize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/domain/session/room/timeline/deserialize.js b/src/domain/session/room/timeline/deserialize.js index ad3eb941..767a7995 100644 --- a/src/domain/session/room/timeline/deserialize.js +++ b/src/domain/session/room/timeline/deserialize.js @@ -63,7 +63,7 @@ class Deserializer { const item = this.parseAnyNodes(result.getChildNodes(child)); items.push(item); } - return new ListBlock(start, nodes); + return new ListBlock(start, items); } _ensureElement(node, tag) {