Stop using 'special_since' which looks back way too far for your own text notes and mentions

This commit is contained in:
Mike Dilger 2023-01-18 10:29:16 +13:00
parent df59af879d
commit 0cb2c8ee5b

View File

@ -292,7 +292,7 @@ impl Minion {
); );
// Compute how far to look back // Compute how far to look back
let (feed_since, special_since) = { let (feed_since, _special_since) = {
/* /*
// Find the oldest 'last_fetched' among the 'person_relay' table. // Find the oldest 'last_fetched' among the 'person_relay' table.
// Null values will come through as 0. // Null values will come through as 0.
@ -352,7 +352,7 @@ impl Minion {
filters.push(Filter { filters.push(Filter {
p: vec![pubkey.into()], p: vec![pubkey.into()],
kinds: vec![EventKind::TextNote, EventKind::Repost], kinds: vec![EventKind::TextNote, EventKind::Repost],
since: Some(special_since), since: Some(feed_since),
..Default::default() ..Default::default()
}); });