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

No conflicts.
This commit is contained in:
Thibaut Girka
2019-01-19 18:28:37 +01:00
57 changed files with 1103 additions and 444 deletions

View File

@@ -140,15 +140,8 @@ module Mastodon
end
def stats_to_json(stats)
totals.each_key do |domain|
if totals[domain].is_a?(Hash)
totals[domain]['activity'] = stats[domain]
else
totals.delete(domain)
end
end
say(Oj.dump(totals))
stats.compact!
say(Oj.dump(stats))
end
end
end

View File

@@ -21,7 +21,7 @@ module Mastodon
end
def flags
'rc1'
'rc3'
end
def to_a