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

Conflicts:
- `package.json`
This commit is contained in:
Thibaut Girka
2019-11-06 14:38:28 +01:00
31 changed files with 492 additions and 312 deletions
+3 -1
View File
@@ -431,6 +431,8 @@ class Account < ApplicationRecord
SELECT target_account_id
FROM follows
WHERE account_id = ?
UNION ALL
SELECT ?
)
SELECT
accounts.*,
@@ -446,7 +448,7 @@ class Account < ApplicationRecord
LIMIT ? OFFSET ?
SQL
records = find_by_sql([sql, account.id, account.id, account.id, limit, offset])
records = find_by_sql([sql, account.id, account.id, account.id, account.id, limit, offset])
else
sql = <<-SQL.squish
SELECT