forked from FoundKeyGang/FoundKey
fix function name
This commit is contained in:
parent
0b8fa2665c
commit
7cd11e7afd
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue