From 9febf120299f22c4e9dddd8dacea7c30fc750d7d Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 26 Jul 2019 19:43:47 -0500 Subject: [PATCH] fix `delete_in:thread` logic flub (electric boogaloo) --- app/lib/bangtags.rb | 4 ++-- 1 file 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