fix function name

This commit is contained in:
Johann150 2022-10-11 21:26:20 +02:00
parent 0b8fa2665c
commit 7cd11e7afd
Signed by untrusted user: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -139,11 +139,11 @@ async function deliverToConcerned(user: { id: ILocalUser['id']; host: null; }, n
manager.addDirectRecipe(remoteUser);
}
if (['public', 'home', 'followers'].contains(note.visibility)) {
if (['public', 'home', 'followers'].includes(note.visibility)) {
manager.addFollowersRecipe();
}
if (['public', 'home'].contains(note.visibility)) {
if (['public', 'home'].includes(note.visibility)) {
manager.addEveryone();
}