mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-27 22:38:39 +09:00
Update UtilityService.ts
This commit is contained in:
parent
a27d4be764
commit
e5fd9e004c
@ -64,6 +64,7 @@ export class UtilityService {
|
||||
|
||||
@bindThis
|
||||
public isKeyWordIncluded(text: string, keyWords: string[]): boolean {
|
||||
console.log(text, keyWords);
|
||||
if (keyWords.length === 0) return false;
|
||||
if (text === '') return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user