From fee6447e220660f663c6b44ea2ee1d6073902762 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Thu, 6 Jan 2022 22:03:47 +0530 Subject: [PATCH] Don't call render() --- src/platform/web/ui/session/room/timeline/ReplyPreviewView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/session/room/timeline/ReplyPreviewView.js b/src/platform/web/ui/session/room/timeline/ReplyPreviewView.js index b38ff92b..656d98f2 100644 --- a/src/platform/web/ui/session/room/timeline/ReplyPreviewView.js +++ b/src/platform/web/ui/session/room/timeline/ReplyPreviewView.js @@ -27,7 +27,7 @@ export class ReplyPreviewView extends TemplateView { // todo: this should probably be called viewClassForTile instead const viewClass = viewClassForEntry(vm); const view = new viewClass(vm, { reply: true, interactive: false }); - const rendered = view.render(t, vm); + const rendered = t.view(view); return this._renderReplyHeader(t, vm, [rendered]); }