diff --git a/thunder/posts/post_store.rs b/thunder/posts/post_store.rs index 5a1c1966..4f8a0bfb 100644 --- a/thunder/posts/post_store.rs +++ b/thunder/posts/post_store.rs @@ -131,7 +131,7 @@ impl PostStore { .unwrap_or_default() .as_secs() as i64; posts.retain(|p| { - p.created_at < current_time + p.created_at <= current_time && current_time - p.created_at <= (self.retention_seconds as i64) });