add a binding here for the day we support edits

This commit is contained in:
Bruno Windels 2022-06-25 12:52:26 +02:00
parent 4406d7917e
commit c06c15ed9e

View File

@ -20,7 +20,7 @@ import {ReplyPreviewError, ReplyPreviewView} from "./ReplyPreviewView.js";
export class TextMessageView extends BaseMessageView {
renderMessageBody(t, vm) {
const time = t.time({className: {hidden: !vm.date}}, vm.date + " " + vm.time);
const time = t.time({className: {hidden: vm => !vm.time}}, vm => vm.time);
const container = t.div({
className: {
"Timeline_messageBody": true,