summaryrefslogtreecommitdiff
path: root/src/services
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-08-17 02:37:20 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-08-17 02:37:20 +0900
commitd70e27a8654f3652972c8295e202e8d37c8131fd (patch)
tree6f7963f2a0b031cdd02aed78182a43257ac65578 /src/services
parent6.2.0 (diff)
downloadsharkey-d70e27a8654f3652972c8295e202e8d37c8131fd.tar.gz
sharkey-d70e27a8654f3652972c8295e202e8d37c8131fd.tar.bz2
sharkey-d70e27a8654f3652972c8295e202e8d37c8131fd.zip
Provide id in announce activity
Diffstat (limited to 'src/services')
-rw-r--r--src/services/note/create.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/services/note/create.ts b/src/services/note/create.ts
index 3745450e15..d11a02ada6 100644
--- a/src/services/note/create.ts
+++ b/src/services/note/create.ts
@@ -235,7 +235,7 @@ export default async (user: IUser, data: Option, silent = false) => new Promise<
async function renderActivity(data: Option, note: INote) {
const content = data.renote && data.text == null
- ? renderAnnounce(data.renote.uri ? data.renote.uri : await renderNote(data.renote))
+ ? renderAnnounce(note._id.toHexString(), data.renote.uri ? data.renote.uri : await renderNote(data.renote))
: renderCreate(await renderNote(note));
return packAp(content);