about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-26 19:43:47 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-26 19:43:47 -0500
commit9febf120299f22c4e9dddd8dacea7c30fc750d7d (patch)
treec54be97385d5d3b744b89b435fe08f5c8323e8ea /app/lib
parentaaa207284a899bc52a6fe1c7b1798c5637e258ed (diff)
fix `delete_in:thread` logic flub (electric boogaloo)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/bangtags.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index 10082be14..13e34e933 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -560,8 +560,8 @@ class Bangtags
           when 'parent', 'thread', 'all'
             s = cmd[1].downcase.to_sym
             s = @parent_status if s == :parent
-            next unless @parent_status.present?
-            next unless s == :thread || @parent_status.account_id == @account.id
+            next unless s == :all ||  @parent_status.present?
+            next unless s == :thread || s == :all || @parent_status.account_id == @account.id
             i = cmd[2].to_i
             unit = cmd[3].present? ? cmd[3].downcase : 'minutes'
           else