Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- `README.md`:
  We have a different README than upstream, discarded upstream changes
  and kept ours.
This commit is contained in:
Thibaut Girka
2020-04-12 16:50:27 +02:00
17 changed files with 247 additions and 171 deletions

View File

@@ -276,7 +276,7 @@ module Mastodon
preload_map = Hash.new { |hash, key| hash[key] = [] }
objects.map do |object|
segments = object.key.split('/').first
segments = object.key.split('/')
model_name = segments.first.classify
record_id = segments[2..-2].join.to_i