mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 09:37:02 +08:00
feat: filter reply
Closes #118 Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -86,7 +86,8 @@ class PlDanmakuController {
|
||||
}
|
||||
break;
|
||||
case 1:
|
||||
if (RegExp(filter['filter']).hasMatch(elem.content)) {
|
||||
if (RegExp(filter['filter'], caseSensitive: false)
|
||||
.hasMatch(elem.content)) {
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user