From 802c70a0e31ec1186bc03b5133170fd8ff425053 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 26 Jan 2026 08:01:40 -0500 Subject: [PATCH] Normalize block checks for author moderation --- js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index d659f062..bd65bacc 100644 --- a/js/app.js +++ b/js/app.js @@ -511,14 +511,14 @@ class Application { isAuthorBlocked(pubkey) { try { + const normalized = this.normalizeHexPubkey(pubkey); if (userBlocks && typeof userBlocks.isBlocked === "function") { - if (userBlocks.isBlocked(pubkey)) { + if (normalized && userBlocks.isBlocked(normalized)) { return true; } } if (!this.isUserLoggedIn()) { - const normalized = this.normalizeHexPubkey(pubkey); if ( normalized && moderationService &&