[wip] Implement like activity

This commit is contained in:
syuilo
2018-04-03 00:59:38 +09:00
parent 45fb451111
commit 7da1913964
3 changed files with 50 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ export default async (user, post) => {
const attributedTo = `${config.url}/@${user.username}`;
return {
id: `${attributedTo}/${post._id}`,
id: `${config.url}/posts/${post._id}}`,
type: 'Note',
attributedTo,
content: post.textHtml,