feat: support more factors in filter

This commit is contained in:
johnnyjoy
2025-02-02 16:12:44 +08:00
parent 2a392b8f8d
commit b9a0c56163
6 changed files with 100 additions and 17 deletions

View File

@@ -141,7 +141,6 @@ var MemoFilterCELAttributes = []cel.EnvOption{
cel.Variable("display_time_before", cel.IntType),
cel.Variable("display_time_after", cel.IntType),
cel.Variable("creator", cel.StringType),
cel.Variable("uid", cel.StringType),
cel.Variable("state", cel.StringType),
cel.Variable("random", cel.BoolType),
cel.Variable("limit", cel.IntType),