mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 02:00:34 +01:00
Update UtilityService.ts
This commit is contained in:
parent
a27d4be764
commit
e5fd9e004c
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue