This commit is contained in:
CatAClock 2025-07-16 19:12:32 -07:00
parent 12ecdce421
commit 1ce3dea4c3

View file

@ -154,10 +154,10 @@ async function GetPost() {
SetBoost();
// Now time to see if there are any parents.
if (post.hasOwnProperty("reply")) {
Parentpost = await BlueskyReplyFunction("0", post.reply.parent, post.reply.parent.author);
let TemporaryPost = await BlueskyReplyFunction("0", post.reply.parent, post.reply.parent.author);
// Now time to see if there are any grandparents.
if (Parentpost.value.hasOwnProperty("reply")) {
GrandParentpost = await BlueskyReplyFunction("1", Parentpost.value.reply.parent, post.reply.grandparentAuthor);
if (TemporaryPost.value.hasOwnProperty("reply")) {
TemporaryPost = await BlueskyReplyFunction("1", TemporaryPost.value.reply.parent, post.reply.grandparentAuthor);
}
}
} else {