From 801e68c6c46d06bb8b59f9d5d87ba51194da21c4 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Sat, 11 May 2024 12:03:41 -0300 Subject: [PATCH] fix: add error prefix according to NIP-01 --- src/policies/MuteListPolicy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/policies/MuteListPolicy.ts b/src/policies/MuteListPolicy.ts index 1db8556..cae08eb 100644 --- a/src/policies/MuteListPolicy.ts +++ b/src/policies/MuteListPolicy.ts @@ -10,7 +10,7 @@ export class MuteListPolicy implements NPolicy { const pubkeys = getTagSet(muteList?.tags ?? [], 'p'); if (pubkeys.has(event.pubkey)) { - return ['OK', event.id, false, 'You are banned in this server.']; + return ['OK', event.id, false, 'blocked: Your account has been deactivated.']; } return ['OK', event.id, true, ''];