diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-08-02 15:04:41 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-08-02 15:04:41 -0500 |
commit | dbcc560826f8ff01a63ebb45b69234f6c6e4517c (patch) | |
tree | d45873c7f0c3806d27f9bbe3019e6f76302caad7 | |
parent | b1d125d704ae727e97c39e147814194ac7d7b9d6 (diff) |
make `thread:emoji` actually grab all emojis in a thread
-rw-r--r-- | app/lib/bangtags.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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) |