[COMPONENT][Language] Do not exclude notes without language from the feeds
This commit is contained in:
parent
9d5e149dec
commit
21f585ef7e
|
@ -51,7 +51,7 @@ class Language extends Component
|
|||
}
|
||||
$notes = F\select(
|
||||
$notes,
|
||||
fn (Note $n) => \in_array($n->getLanguageId(), ActorLanguage::getActorRelatedLanguagesIds($actor)),
|
||||
fn (Note $n) => is_null($n->getLanguageId()) || \in_array($n->getLanguageId(), ActorLanguage::getActorRelatedLanguagesIds($actor)),
|
||||
);
|
||||
|
||||
return Event::next;
|
||||
|
|
Loading…
Reference in New Issue
Block a user