forked from cory/tildefriends
		
	ssb: I think this fixes missing a range in some circumstances.
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
	"type": "tildefriends-app",
 | 
			
		||||
	"emoji": "🦀",
 | 
			
		||||
	"previous": "&m5ZrkzoyAjv7AY6AukzVoWIyUFUL97uuDDWCtxCloAU=.sha256"
 | 
			
		||||
	"previous": "&zAW/4XKD1wcsEM12bkzZD0V7Wyne3OPpQne2rtncxXM=.sha256"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -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