forked from cory/tildefriends
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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user