bug fix
This commit is contained in:
parent
da0bfc22a3
commit
d9fc1e4aa0
1 changed files with 3 additions and 3 deletions
|
@ -105,10 +105,10 @@ async function GetPost() {
|
|||
}
|
||||
// Now time to see if there are any parents
|
||||
if (post.in_reply_to_id != null) {
|
||||
let ParentPost = await MastodonReplylFunction("Parent", post.in_reply_to_id);
|
||||
Parentpost = await MastodonReplylFunction("Parent", post.in_reply_to_id);
|
||||
// Now time to see if there are any grandparents
|
||||
if (ParentPost == undefined && ParentPost.in_reply_to_id != null) {
|
||||
MastodonReplylFunction("GrandParent", ParentPost.in_reply_to_id);
|
||||
if (Parentpost != undefined && Parentpost.in_reply_to_id != null) {
|
||||
GrandParentpost = await MastodonReplylFunction("GrandParent", Parentpost.in_reply_to_id);
|
||||
}
|
||||
}
|
||||
} else if (website == "Bluesky") {
|
||||
|
|
Loading…
Add table
Reference in a new issue