mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
continuation can change, so bind to it
This commit is contained in:
parent
a2625630ad
commit
5898177f0b
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user