This commit is contained in:
CatAClock 2025-06-01 15:05:02 -07:00
parent da0bfc22a3
commit d9fc1e4aa0

View file

@ -105,10 +105,10 @@ async function GetPost() {
} }
// Now time to see if there are any parents // Now time to see if there are any parents
if (post.in_reply_to_id != null) { 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 // Now time to see if there are any grandparents
if (ParentPost == undefined && ParentPost.in_reply_to_id != null) { if (Parentpost != undefined && Parentpost.in_reply_to_id != null) {
MastodonReplylFunction("GrandParent", ParentPost.in_reply_to_id); GrandParentpost = await MastodonReplylFunction("GrandParent", Parentpost.in_reply_to_id);
} }
} }
} else if (website == "Bluesky") { } else if (website == "Bluesky") {