fix: add error prefix according to NIP-01
This commit is contained in:
parent
d278fc980a
commit
801e68c6c4
|
@ -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, ''];
|
||||
|
|
Loading…
Reference in New Issue