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
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") {