Merge remote-tracking branch 'parent/main' into kb_migration
This commit is contained in:
commit
adfa3524fc
38 changed files with 294 additions and 184 deletions
|
@ -147,7 +147,7 @@ class AccountSearchService < BaseService
|
|||
multi_match: {
|
||||
query: @query,
|
||||
type: 'bool_prefix',
|
||||
fields: %w(username username.* display_name display_name.*),
|
||||
fields: %w(username^2 username.*^2 display_name display_name.*),
|
||||
},
|
||||
}
|
||||
end
|
||||
|
|
|
@ -127,6 +127,7 @@ class ActivityPub::ProcessAccountService < BaseService
|
|||
@account.searchability = searchability_from_audience
|
||||
@account.dissubscribable = !subscribable(@account.note)
|
||||
@account.settings = other_settings
|
||||
@account.memorial = @json['memorial'] || false
|
||||
end
|
||||
|
||||
def valid_account?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue