feat(federation): 特定の連合サーバーのメディアを全てセンシティブとして設定する機能を追加 (MisskeyIO#340)
This commit is contained in:
parent
ce58adce22
commit
d4a8e9a499
15 changed files with 105 additions and 5 deletions
|
@ -116,6 +116,16 @@ export const meta = {
|
|||
nullable: false,
|
||||
},
|
||||
},
|
||||
sensitiveMediaHosts: {
|
||||
type: 'array',
|
||||
optional: true,
|
||||
nullable: false,
|
||||
items: {
|
||||
type: 'string',
|
||||
optional: false,
|
||||
nullable: false,
|
||||
},
|
||||
},
|
||||
pinnedUsers: {
|
||||
type: 'array',
|
||||
optional: false, nullable: false,
|
||||
|
@ -491,6 +501,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
|
|||
hiddenTags: instance.hiddenTags,
|
||||
blockedHosts: instance.blockedHosts,
|
||||
silencedHosts: instance.silencedHosts,
|
||||
sensitiveMediaHosts: instance.sensitiveMediaHosts,
|
||||
sensitiveWords: instance.sensitiveWords,
|
||||
preservedUsernames: instance.preservedUsernames,
|
||||
hcaptchaSecretKey: instance.hcaptchaSecretKey,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue