This commit is contained in:
Nutomic 2024-11-12 11:33:21 +01:00 committed by GitHub
parent 3752c96688
commit f2ca2b4285
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -195,7 +195,7 @@ impl Object for ApubCommunity {
// Need to fetch mods synchronously, otherwise fetching a post in community with
// `posting_restricted_to_mods` can fail if mods havent been fetched yet.
if let Some(moderators) = group.attributed_to {
moderators.dereference(&community, &context).await.ok();
moderators.dereference(&community, context).await.ok();
}
// These collections are not necessary for Lemmy to work, so ignore errors.