+3
-1
app/firehose_stream.rb
+3
-1
app/firehose_stream.rb
···
125
126
when :bsky_like, :bsky_repost
127
# if you want to use the number of likes and/or reposts for filtering or sorting:
128
-
# add a likes/reposts column to feeds, then do +1 / -1 here depending on op.action
129
130
when :bsky_follow
131
# if you want to make a personalized feed that needs info about given user's follows/followers:
···
125
126
when :bsky_like, :bsky_repost
127
# if you want to use the number of likes and/or reposts for filtering or sorting:
128
+
# add a likes/reposts table, then add/remove records here depending on op.action
129
+
# (you'll need to track like records and not just have a single numeric "likes" field,
130
+
# because delete events only include the uri/rkey of the like, not of the liked post)
131
132
when :bsky_follow
133
# if you want to make a personalized feed that needs info about given user's follows/followers: