Skip to content

Commit

Permalink
AP deliverでCW付きはsensitiveにするように
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Aug 20, 2019
1 parent 54075c5 commit 3261058
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote/activitypub/renderer/note.ts
Expand Up @@ -167,7 +167,7 @@ export default async function renderNote(note: INote, dive = true): Promise<any>
cc,
inReplyTo,
attachment: files.map(renderDocument),
sensitive: files.some(file => file.metadata.isSensitive),
sensitive: note.cw != null || files.some(file => file.metadata.isSensitive),
tag,
...asPoll
};
Expand Down

0 comments on commit 3261058

Please sign in to comment.