From 505744d8c998f18fe2e7f76d421dfe573d2a2349 Mon Sep 17 00:00:00 2001 From: CatAClock Date: Tue, 3 Jun 2025 13:05:28 -0700 Subject: [PATCH] Stupid mastodon thing fixed --- JS/MastodonAPI.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JS/MastodonAPI.js b/JS/MastodonAPI.js index 3672d30..0680fc4 100644 --- a/JS/MastodonAPI.js +++ b/JS/MastodonAPI.js @@ -216,7 +216,7 @@ export async function CreateBlock(ID, IsBlocked) { return ""; } let request = localStorage.getItem(Variables.MastodonWebsite) + "/api/v1/accounts/" + ID; - if (IsReblogged == false) { + if (IsBlocked == false) { request += "/block"; } else { request += "/unblock";