From ae825539c662b6a8ce6505596a294e34e077a1d2 Mon Sep 17 00:00:00 2001 From: fiatjaf Date: Sat, 23 Mar 2024 15:51:33 -0300 Subject: [PATCH] unfollowing is just deleting the follow event. @vitorpamplona: https://github.com/nostr-protocol/nips/pull/1135#issuecomment-2016546516 --- 64.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/64.md b/64.md index d6f82c38..91badf00 100644 --- a/64.md +++ b/64.md @@ -42,17 +42,7 @@ Whenever Sarah's inbox relay receive a note from Walter, they will know that Sar When Sarah turns on her client she will connect to her inbox relay, perform [NIP-42](42.md) `AUTH` and create a subscription that doesn't specify `"authors"` (for example, `["REQ", "_", {}]`). The relays, aware of who she is and who she is following, can deliver to her just Walter's notes. -If Sarah ever decides to stop following Walter, she can send a `kind:6402` _unfollow intent_ to both Walter's relays and her own, so her relay can start rejecting (and maybe delete previous) Walter's notes, and Walter can know to not send her his notes anymore. As an optimization, Walter's inbox relay can just delete Sarah's `kind:6401` upon receiving a `kind:6402`. - -```jsonc -{ - "kind": 6402, - "pubkey": "" - "tags": [ - ["p", ""] - ] -} -``` +If Sarah ever decides to stop following Walter, she just sends a `kind:5` _deletion_ to both Walter's relay and hers. ---