its for when you want to get like notifications for your reposts

fix: actually use already stored follows

ptr.pet a2d6dcc7 9024c18f

verified
Changed files
+5
server
+5
server/main.go
···
return
}
sd.ListenTo = make(Set[syntax.DID])
+
// use we have stored
+
ud.follows.Range(func(rk syntax.RecordKey, f bsky.GraphFollow) bool {
+
sd.ListenTo[syntax.DID(f.Subject)] = struct{}{}
+
return true
+
})
if len(follows) > 0 {
// store cursor for later requests so we dont have to fetch the whole thing again
ud.followsCursor.Store((*string)(&follows[len(follows)-1].rkey))