Skip to content
Snippets Groups Projects
Commit a6abcd1a authored by syuilo's avatar syuilo
Browse files

wip

parent 2a80fdea
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ export default async (actor, activity): Promise<void> => {
let reply = null;
if ('inReplyTo' in note && note.inReplyTo != null) {
const inReplyToPost = await Post.findOne({ uri: note.id || note });
const inReplyToPost = await Post.findOne({ uri: note.inReplyTo.id || note.inReplyTo });
if (inReplyToPost) {
reply = inReplyToPost;
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment