mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
wip
This commit is contained in:
parent
2468b34d93
commit
504d845a01
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user