From dbcc560826f8ff01a63ebb45b69234f6c6e4517c Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 2 Aug 2019 15:04:41 -0500 Subject: [PATCH] make `thread:emoji` actually grab all emojis in a thread --- app/lib/bangtags.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb index 0197477c5..ec90f5014 100644 --- a/app/lib/bangtags.rb +++ b/app/lib/bangtags.rb @@ -314,7 +314,7 @@ class Bangtags end when 'emoji' next if status.conversation_id.nil? - roars = Status.where(conversation_id: status.conversation_id, account_id: @account.id) + roars = Status.where(conversation_id: status.conversation_id) roars.each do |roar| roar.emojis.each do |theirs| ours = CustomEmoji.find_or_initialize_by(shortcode: theirs.shortcode, domain: nil)