mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-23 10:40:36 +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
|
@bindThis
|
||||||
public isKeyWordIncluded(text: string, keyWords: string[]): boolean {
|
public isKeyWordIncluded(text: string, keyWords: string[]): boolean {
|
||||||
|
console.log(text, keyWords);
|
||||||
if (keyWords.length === 0) return false;
|
if (keyWords.length === 0) return false;
|
||||||
if (text === '') return false;
|
if (text === '') return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue