summaryrefslogtreecommitdiff
path: root/desk/sur
diff options
context:
space:
mode:
Diffstat (limited to 'desk/sur')
-rw-r--r--desk/sur/nostrill.hoon11
-rw-r--r--desk/sur/nostrill/comms.hoon4
2 files changed, 7 insertions, 8 deletions
diff --git a/desk/sur/nostrill.hoon b/desk/sur/nostrill.hoon
index 70ce480..a091dd0 100644
--- a/desk/sur/nostrill.hoon
+++ b/desk/sur/nostrill.hoon
@@ -12,9 +12,9 @@
:: nostr feed from relays
=nostr-feed
:: profiles
- profiles=(map @ux user-meta:nostr)
- following=(map @ux =feed:trill)
- follow-graph=(map @ux (set follow))
+ profiles=(map user user-meta:nostr)
+ following=(map user =feed:trill)
+ follow-graph=(map user (set user))
:: TODO global feed somehow?
==
@@ -29,6 +29,7 @@ $: pub=(unit @ux)
relay=(unit @t)
pr=(unit user-meta:nostr)
==
++$ user $%([%urbit p=@p] [%nostr p=@ux])
+$ follow [pubkey=@ux name=@t relay=(unit @t)]
++ ui
@@ -52,8 +53,8 @@ $: pub=(unit @ux)
[%del pubkey=@ux]
==
+$ fols-poke
- $% [%add pubkey=@ux]
- [%del pubkey=@ux]
+ $% [%add =user]
+ [%del =user]
==
+$ prof-poke
$% [%add meta=user-meta:nostr]
diff --git a/desk/sur/nostrill/comms.hoon b/desk/sur/nostrill/comms.hoon
index d3dc8e1..4930235 100644
--- a/desk/sur/nostrill/comms.hoon
+++ b/desk/sur/nostrill/comms.hoon
@@ -8,15 +8,13 @@
+$ req
$% [%feed ~]
[%thread id=@da]
- [%prof ~]
==
+$ res
$% [%ok p=res-data]
[%ng msg=@t]
==
+$ res-data
- $% [%feed =fc:feed]
+ $% [%feed =fc:feed profile=(unit user-meta:nsur)]
[%thread p=full-node:post]
- [%prof p=user-meta:nsur]
==
--