mirror of
https://github.com/mikedilger/gossip.git
synced 2024-09-19 19:46:50 +00:00
Stop using 'special_since' which looks back way too far for your own text notes and mentions
This commit is contained in:
parent
df59af879d
commit
0cb2c8ee5b
@ -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()
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user