about summary refs log tree commit diff
path: root/app/validators/status_pin_validator.rb
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-06-03 18:12:55 -0500
committerDavid Yip <yipdw@member.fsf.org>2018-06-03 18:12:55 -0500
commit37d495eeeb810127e0c6c62bff865c1ba66f45c8 (patch)
tree262d909a584565de86673e7b06c335329915d1ac /app/validators/status_pin_validator.rb
parent5dd2a78034c4ab8d7eac6f4553185eadc48b6c26 (diff)
keyword mute: Store keywords as a list
This has a couple of advantages over the regex approach:

- Keywords are individually addressable, which makes it easier to gather
  statistics (#363)
- Keywords can be individually applied to different feeds, e.g. skipping
  mentions (#454)

It *does* end up creating many more Regexp objects.  I'm not yet sure if
the difference is significant.
Diffstat (limited to 'app/validators/status_pin_validator.rb')
0 files changed, 0 insertions, 0 deletions