fix: don't show deleted posts in repost
This commit is contained in:
parent
6fa273b9f5
commit
47124bcc71
1 changed files with 4 additions and 0 deletions
|
@ -157,6 +157,10 @@ impl DataManager {
|
||||||
Err(_) => return None,
|
Err(_) => return None,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
if x.is_deleted {
|
||||||
|
return None;
|
||||||
|
}
|
||||||
|
|
||||||
if ignore_users.contains(&x.owner) {
|
if ignore_users.contains(&x.owner) {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue