about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorkibigo! <marrus-sh@users.noreply.github.com>2017-06-25 19:19:52 -0700
committerkibigo! <marrus-sh@users.noreply.github.com>2017-06-25 19:19:52 -0700
commitb323e00bf38f490b6011505df2ff2b4db6b17421 (patch)
treef489b788e67160e985e36c223bddcb19ff607783 /app/lib
parenta520b118e4653aa35a74eba6e1662dfc98fcd1cc (diff)
parent93fc8aa14c914d03643197306c325becbaed2581 (diff)
Merge branch 'master' of https://github.com/glitch-soc/mastodon
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/feed_manager.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/lib/feed_manager.rb b/app/lib/feed_manager.rb
index 90a1441f2..1885eff26 100644
--- a/app/lib/feed_manager.rb
+++ b/app/lib/feed_manager.rb
@@ -95,6 +95,12 @@ class FeedManager
   end
 
   def filter_from_home?(status, receiver_id)
+    # extremely violent filtering code BEGIN
+    #filter_string = 'e'
+    #reggie = Regexp.new(filter_string)
+    #return true if reggie === status.content || reggie === status.spoiler_text
+    # extremely violent filtering code END
+
     return true if status.reply? && status.in_reply_to_id.nil?
 
     check_for_mutes = [status.account_id]