can just use vm here

This commit is contained in:
Bruno Windels 2021-04-22 17:23:41 +02:00
parent d289a44624
commit b77d0f75ce

View file

@ -38,7 +38,7 @@ export class RoomView extends TemplateView {
new TimelineList(timelineViewModel) :
new TimelineLoadingView(vm); // vm is just needed for i18n
}),
t.view(new MessageComposer(this.value.composerViewModel)),
t.view(new MessageComposer(vm.composerViewModel)),
])
]);
}