From 5898177f0b633bc9b77b0e49dae634b9d9587839 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Wed, 19 Aug 2020 12:07:10 +0200 Subject: [PATCH] continuation can change, so bind to it --- src/ui/web/session/room/timeline/common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/web/session/room/timeline/common.js b/src/ui/web/session/room/timeline/common.js index f72f51f0..18bf0be0 100644 --- a/src/ui/web/session/room/timeline/common.js +++ b/src/ui/web/session/room/timeline/common.js @@ -20,9 +20,9 @@ export function renderMessage(t, vm, children) { "TextMessageView": true, own: vm.isOwn, pending: vm.isPending, - continuation: vm.isContinuation, + continuation: vm => vm.isContinuation, }; - const sender = t.div({className: `sender usercolor${vm.senderColorNumber}`}, vm => vm.isContinuation ? "" : vm.sender); + const sender = t.div({className: `sender usercolor${vm.senderColorNumber}`}, vm.sender); children = [sender].concat(children); return t.li( {className: classes},