Don't show boosts and likes for "all" and "local" in timelines (#781)

Fixes #711
DearRude/force-lang
Gelez 4 years ago committed by GitHub
parent ef70cb93e6
commit 297d9fcf40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -406,8 +406,8 @@ impl Bool {
}
}
Bool::HasCover => Ok(post.cover_id.is_some()),
Bool::Local => Ok(post.get_blog(&rocket.conn)?.is_local()),
Bool::All => Ok(true),
Bool::Local => Ok(post.get_blog(&rocket.conn)?.is_local() && kind == Kind::Original),
Bool::All => Ok(kind == Kind::Original),
}
}
}

Loading…
Cancel
Save