negate operator for more queries
Ted Unangst tedu@tedunangst.com
Mon, 28 Aug 2023 17:41:56 -0400
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
database.go
→
database.go
@@ -307,11 +307,11 @@ if t == "" {
continue } if t == "@me" { - queries = append(queries, "whofore = 1") + queries = append(queries, negate+"whofore = 1") continue } if t == "@self" { - queries = append(queries, "(whofore = 2 or whofore = 3)") + queries = append(queries, negate+"(whofore = 2 or whofore = 3)") continue } if strings.HasPrefix(t, "before:") {