ssb: I think this fixes missing a range in some circumstances.
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 25m8s
All checks were successful
Build Tilde Friends / Build-All (push) Successful in 25m8s
This commit is contained in:
@ -298,7 +298,7 @@ class TfTabNewsFeedElement extends LitElement {
|
||||
let now = new Date().valueOf();
|
||||
let start_time = now - 24 * 60 * 60 * 1000;
|
||||
this.start_time = start_time;
|
||||
this.time_range = [this.start_time, now + 24 * 60 * 60 * 1000];
|
||||
this.time_range = [now + 24 * 60 * 60 * 1000, now + 24 * 60 * 60 * 1000];
|
||||
messages = await this.fetch_messages(null, this.time_range[1]);
|
||||
this.update_time_range_from_messages(
|
||||
messages.filter((x) => x.timestamp < this.time_range[1])
|
||||
|
Reference in New Issue
Block a user