fix: add error prefix according to NIP-01

This commit is contained in:
P. Reis 2024-05-11 12:03:41 -03:00
parent d278fc980a
commit 801e68c6c4
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ export class MuteListPolicy implements NPolicy {
const pubkeys = getTagSet(muteList?.tags ?? [], 'p'); const pubkeys = getTagSet(muteList?.tags ?? [], 'p');
if (pubkeys.has(event.pubkey)) { 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, '']; return ['OK', event.id, true, ''];