aboutsummaryrefslogtreecommitdiff
path: root/service
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2024-04-21 14:34:44 +0000
committerr <r@freesoftwareextremist.com>2024-04-21 14:34:44 +0000
commite3a9861a8c8eeed0a5c702de150d62eff840be9d (patch)
tree92b112dd3d3a34e03713ab8ccda555becf0ce0f6 /service
parentcd86ea6af12d798581d783f8e1c3deba24dce69f (diff)
downloadbloat-e3a9861a8c8eeed0a5c702de150d62eff840be9d.tar.gz
bloat-e3a9861a8c8eeed0a5c702de150d62eff840be9d.zip
Set irreversible to false for filters
Diffstat (limited to 'service')
-rw-r--r--service/service.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/service.go b/service/service.go
index 24e3f85..4287509 100644
--- a/service/service.go
+++ b/service/service.go
@@ -1076,7 +1076,7 @@ func (s *service) UnBookmark(c *client, id string) (err error) {
func (svc *service) Filter(c *client, phrase string, wholeWord bool) (err error) {
fctx := []string{"home", "notifications", "public", "thread"}
- return c.AddFilter(c.ctx, phrase, fctx, true, wholeWord, nil)
+ return c.AddFilter(c.ctx, phrase, fctx, false, wholeWord, nil)
}
func (svc *service) UnFilter(c *client, id string) (err error) {