Remove unnecessary forwarded timestamp check

This commit is contained in:
farley128 2025-12-31 12:09:56 -05:00
parent 046b23d3e7
commit bfef222ae2

View file

@ -342,16 +342,13 @@
} }
@* Forwarded timestamp *@ @* Forwarded timestamp *@
@if (fwd.Timestamp != DateTimeOffset.MinValue) <div class="chatlog__forwarded-timestamp">
{ <span title="@FormatDate(fwd.Timestamp, "f")">Originally sent: @FormatDate(fwd.Timestamp)</span>
<div class="chatlog__forwarded-timestamp"> @if (fwd.EditedTimestamp is not null)
<span title="@FormatDate(fwd.Timestamp, "f")">Originally sent: @FormatDate(fwd.Timestamp)</span> {
@if (fwd.EditedTimestamp is not null) <span title="@FormatDate(fwd.EditedTimestamp.Value, "f")"> (edited)</span>
{ }
<span title="@FormatDate(fwd.EditedTimestamp.Value, "f")"> (edited)</span> </div>
}
</div>
}
</div> </div>
} }