fixes for bsky monitoring
This commit is contained in:
@@ -223,7 +223,7 @@ class Domain::Bluesky::Job::ScanPostsJob < Domain::Bluesky::Job::Base
|
||||
first_seen_entry: log_entry,
|
||||
text: record_data.dig("value", "text") || "",
|
||||
posted_at: Time.parse(record_data.dig("value", "createdAt")),
|
||||
post_raw: record_data,
|
||||
post_raw: record_data.dig("value"),
|
||||
reply_to_uri: reply_to_uri,
|
||||
quote_uri: quote_uri,
|
||||
)
|
||||
|
||||
@@ -243,6 +243,7 @@ class Domain::Bluesky::Job::ScanUserFollowsJob < Domain::Bluesky::Job::Base
|
||||
format_tags("updated user #{edge_name}", make_tags(update_attrs)),
|
||||
)
|
||||
scan.update_json_attributes!(update_attrs)
|
||||
user.touch
|
||||
end
|
||||
|
||||
sig do
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<% description_html = render_bsky_post_facets(
|
||||
post.text,
|
||||
post.post_raw&.dig("value", "facets")
|
||||
post.post_raw&.dig("facets")
|
||||
) %>
|
||||
<%= sky_section_tag("Description") do %>
|
||||
<% if description_html %>
|
||||
|
||||
Reference in New Issue
Block a user