summaryrefslogtreecommitdiff
path: root/app/lib/nostrill/follows.hoon
diff options
context:
space:
mode:
authorpolwex <polwex@sortug.com>2025-11-12 07:11:07 +0700
committerpolwex <polwex@sortug.com>2025-11-12 07:11:07 +0700
commit284ce9ce7d9f81e54e91f917329d48926487fbf4 (patch)
tree7a156986323fd799e1457c8b7663806e32b2af7d /app/lib/nostrill/follows.hoon
parent7305d67ff7f9e78b73326ef0e1f68a9613d34205 (diff)
fixes to engagement handling
Diffstat (limited to 'app/lib/nostrill/follows.hoon')
-rw-r--r--app/lib/nostrill/follows.hoon3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/lib/nostrill/follows.hoon b/app/lib/nostrill/follows.hoon
index 34c1d19..942a876 100644
--- a/app/lib/nostrill/follows.hoon
+++ b/app/lib/nostrill/follows.hoon
@@ -48,7 +48,8 @@
++ handle-follow-ok |= [=user:sur =fc:feed profile=(unit user-meta:nsur)]
^- (quip card:agent:gall _state)
- =. following.state (~(put by following.state) user feed.fc)
+ =. following.state (~(put by following.state) user feed.fc)
+ =. following2.state (add-new-feed:feedlib following2.state feed.fc)
=/ graph (~(get by follow-graph.state) [%urbit our.bowl])
=/ follows ?~ graph (silt ~[user]) (~(put in u.graph) user)
=. follow-graph.state (~(put by follow-graph.state) [%urbit our.bowl] follows)