Fix リモートにNSFWが効かない
This commit is contained in:
parent
d60c3c4ee3
commit
be5a0b4794
3 changed files with 7 additions and 1 deletions
|
@ -81,7 +81,9 @@ export async function createNote(value: any, resolver?: Resolver, silent = false
|
|||
// 添付メディア
|
||||
// TODO: attachmentは必ずしもImageではない
|
||||
// TODO: attachmentは必ずしも配列ではない
|
||||
// Noteがsensitiveなら添付もsensitiveにする
|
||||
const media = note.attachment
|
||||
.map(attach => attach.sensitive = note.sensitive)
|
||||
? await Promise.all(note.attachment.map(x => resolveImage(actor, x)))
|
||||
: [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue