diff --git a/src/HTTP/JS/post.js b/src/HTTP/JS/post.js index 517c167..f54e084 100644 --- a/src/HTTP/JS/post.js +++ b/src/HTTP/JS/post.js @@ -147,7 +147,11 @@ async function Post() { } Post = await BlueskyAPI.GetPosts([Post.uri]); Post = Post.posts[0]; - await BlueskyAPI.CreatePost(localStorage.getItem(Variables.BlueskyDID), Textures, undefined, [], Post, Post.reply.root, true); + if (Post.hasOwnProperty("reply")) { + await BlueskyAPI.CreatePost(localStorage.getItem(Variables.BlueskyDID), Textures, undefined, Tags, Post, Post.reply.root, true); + } else { + await BlueskyAPI.CreatePost(localStorage.getItem(Variables.BlueskyDID), Textures, undefined, Tags, Post, Post, true); + } } } // Youtube posting.