Fix message sorting with placeholders, and add mime magic for another kind of mp4 that handbrake just gave me.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4061 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-11-30 03:07:30 +00:00
parent f9b4ab91c0
commit b1ff215ad7
3 changed files with 4 additions and 3 deletions

View File

@@ -104,7 +104,7 @@ class TfNewsElement extends LitElement {
let latest = 0;
for (let message of messages || []) {
if (message.latest_subtree_timestamp === undefined) {
message.latest_subtree_timestamp = Math.max(message.timestamp, this.update_latest_subtree_timestamp(message.child_messages));
message.latest_subtree_timestamp = Math.max(message.timestamp ?? 0, this.update_latest_subtree_timestamp(message.child_messages));
}
latest = Math.max(latest, message.latest_subtree_timestamp);
}