Merge branch 'master' into glitch-soc/merge-upstream
This commit is contained in:
@ -17,7 +17,7 @@
|
||||
#
|
||||
|
||||
class Import < ApplicationRecord
|
||||
FILE_TYPES = %w(text/plain text/csv).freeze
|
||||
FILE_TYPES = %w(text/plain text/csv application/csv).freeze
|
||||
MODES = %i(merge overwrite).freeze
|
||||
|
||||
self.inheritance_column = false
|
||||
|
@ -145,7 +145,7 @@ class Status < ApplicationRecord
|
||||
ids << account_id if local?
|
||||
|
||||
if preloaded.nil?
|
||||
ids += mentions.where(account: Account.local).pluck(:account_id)
|
||||
ids += mentions.where(account: Account.local, silent: false).pluck(:account_id)
|
||||
ids += favourites.where(account: Account.local).pluck(:account_id)
|
||||
ids += reblogs.where(account: Account.local).pluck(:account_id)
|
||||
ids += bookmarks.where(account: Account.local).pluck(:account_id)
|
||||
|
Reference in New Issue
Block a user