mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-21 14:17:08 +00:00
Fix issue with GetPost not returning bot cross_posts. (#4804)
- Fixes #4803
This commit is contained in:
parent
046375171e
commit
fc6f46c1ac
|
@ -88,6 +88,7 @@ pub async fn get_post(
|
|||
let cross_posts = if let Some(url) = &post_view.post.url {
|
||||
let mut x_posts = PostQuery {
|
||||
url_search: Some(url.inner().as_str().into()),
|
||||
local_user: local_user_view.as_ref(),
|
||||
..Default::default()
|
||||
}
|
||||
.list(&local_site.site, &mut context.pool())
|
||||
|
|
Loading…
Reference in a new issue