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 457c096c9b
commit fa534b0ca9

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,