Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Mar 5, 2019
1 parent b735e35 commit ae696b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/remote/activitypub/renderer/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default async function renderNote(note: INote, dive = true): Promise<any>
content: toHtml(Object.assign({}, note, {
text: text
})),
_misskey_fallback_content: apText,
_misskey_fallback_content: content,
[expiresAt && expiresAt < new Date() ? 'closed' : 'endTime']: expiresAt,
[multiple ? 'anyOf' : 'oneOf']: choices.map(({ text, votes }) => ({
type: 'Note',
Expand Down

0 comments on commit ae696b1

Please sign in to comment.