diff options
author | Thibaut Girka <thib@sitedethib.com> | 2020-08-11 19:19:27 +0200 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2020-08-11 19:19:27 +0200 |
commit | 78fa15d08ff0b840b8b95f87e99a80a109110530 (patch) | |
tree | ab65860a80c213128c11734b396bf78954dd9003 /app/models/form | |
parent | 03712799e2cd51613c8e73cbd6379c8058fae466 (diff) | |
parent | ef057584fd2714d94666f9ffef4aa89147eda72c (diff) |
Merge branch 'master' into glitch-soc/master
Conflicts: - `streaming/index.js`: Upstream entirely refactored it. Ported our changes to upstream's refactor. Hopefuly.
Diffstat (limited to 'app/models/form')
-rw-r--r-- | app/models/form/custom_emoji_batch.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/form/custom_emoji_batch.rb b/app/models/form/custom_emoji_batch.rb index 6b7ea5355..f4fa84c10 100644 --- a/app/models/form/custom_emoji_batch.rb +++ b/app/models/form/custom_emoji_batch.rb @@ -30,7 +30,7 @@ class Form::CustomEmojiBatch private def custom_emojis - CustomEmoji.where(id: custom_emoji_ids) + @custom_emojis ||= CustomEmoji.where(id: custom_emoji_ids) end def update! |