upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/64.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2024-03-23 15:51:33 -0300
committerfiatjaf <fiatjaf@gmail.com>2024-03-23 15:51:35 -0300
commitae825539c662b6a8ce6505596a294e34e077a1d2 (patch)
tree1128f3d6caa33b1be70d41e5ae1ace014cda457a /64.md
parentb2d6af6fe5d875404cb8eed9277a141f54eab754 (diff)
unfollowing is just deleting the follow event.inbox-model
@vitorpamplona: https://github.com/nostr-protocol/nips/pull/1135#issuecomment-2016546516
Diffstat (limited to '64.md')
-rw-r--r--64.md12
1 files changed, 1 insertions, 11 deletions
diff --git a/64.md b/64.md
index d6f82c3..91badf0 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
42 42
43When 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. 43When 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.
44 44
45If 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`. 45If Sarah ever decides to stop following Walter, she just sends a `kind:5` _deletion_ to both Walter's relay and hers.
46
47```jsonc
48{
49 "kind": 6402,
50 "pubkey": "<sarah>"
51 "tags": [
52 ["p", "<walter>"]
53 ]
54}
55```
56 46
57--- 47---
58 48