summaryrefslogtreecommitdiff
path: root/src/services/note
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-22 10:44:17 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-22 10:44:17 +0900
commit20e77196f28178c869402985761bd4c2fa74bf0a (patch)
treebeb333d0a01cf6752bdcc6028c82ce63f579f1f1 /src/services/note
parentFix #1531 (diff)
downloadsharkey-20e77196f28178c869402985761bd4c2fa74bf0a.tar.gz
sharkey-20e77196f28178c869402985761bd4c2fa74bf0a.tar.bz2
sharkey-20e77196f28178c869402985761bd4c2fa74bf0a.zip
AP: 投票をレンダリング
Diffstat (limited to 'src/services/note')
-rw-r--r--src/services/note/create.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts
index ca01b557d6..2380e64ce3 100644
--- a/src/services/note/create.ts
+++ b/src/services/note/create.ts
@@ -15,7 +15,6 @@ import Mute from '../../models/mute';
import pushSw from '../../publishers/push-sw';
import event from '../../publishers/stream';
import parse from '../../text/parse';
-import html from '../../text/html';
import { IApp } from '../../models/app';
export default async (user: IUser, data: {
@@ -63,7 +62,6 @@ export default async (user: IUser, data: {
replyId: data.reply ? data.reply._id : null,
renoteId: data.renote ? data.renote._id : null,
text: data.text,
- textHtml: tokens === null ? null : html(tokens),
poll: data.poll,
cw: data.cw,
tags,