a
This commit is contained in:
parent
12ecdce421
commit
1ce3dea4c3
1 changed files with 3 additions and 3 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue