+3
-1
app/firehose_stream.rb
+3
-1
app/firehose_stream.rb
···
125
125
126
126
when :bsky_like, :bsky_repost
127
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
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)
129
131
130
132
when :bsky_follow
131
133
# if you want to make a personalized feed that needs info about given user's follows/followers: