mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
wip
This commit is contained in:
parent
2468b34d93
commit
504d845a01
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ export default async (actor, activity): Promise<void> => {
|
||||||
|
|
||||||
let reply = null;
|
let reply = null;
|
||||||
if ('inReplyTo' in note && note.inReplyTo != 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) {
|
if (inReplyToPost) {
|
||||||
reply = inReplyToPost;
|
reply = inReplyToPost;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue