quick changes to get it to maybe work?
This commit is contained in:
parent
3b6145c621
commit
cb8ab08edb
2 changed files with 2 additions and 3 deletions
|
@ -213,7 +213,7 @@ export async function CreatePost(DID, Text, ContentWarning = undefined, Tags = [
|
|||
},
|
||||
"features": {
|
||||
"$type": "app.bsky.richtext.facet#tag",
|
||||
"tag": i;
|
||||
"tag": i
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -82,6 +82,7 @@ async function Post() {
|
|||
}
|
||||
// Bluesky posting.
|
||||
if (localStorage.getItem(Variables.BlueskyAccessToken) != null) {
|
||||
let Post;
|
||||
let TempVisible;
|
||||
// Adding tags
|
||||
let Tags = TagsInputArea.value.split(";");
|
||||
|
@ -111,7 +112,6 @@ async function Post() {
|
|||
break;
|
||||
}
|
||||
if (website == "Bluesky") {
|
||||
let Post;
|
||||
if (JSON.parse(localStorage.getItem("post")).hasOwnProperty("reply")) {
|
||||
if (WarningInputArea.value == "") {
|
||||
Post = await BlueskyAPI.CreatePost(localStorage.getItem(Variables.BlueskyDID), Text, undefined, Tags, JSON.parse(localStorage.getItem("post")).post, JSON.parse(localStorage.getItem("post")).reply.root);
|
||||
|
@ -132,7 +132,6 @@ async function Post() {
|
|||
TagsInputArea.value = "";
|
||||
return;
|
||||
} else if (website == "All") {
|
||||
let Post;
|
||||
if (WarningInputArea.value == "") {
|
||||
Post = await BlueskyAPI.CreatePost(localStorage.getItem(Variables.BlueskyDID), Text, undefined, Tags);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue