5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-08 14:36:56 +00:00

Merge branch 'issue-15109-1' of https://0xacab.org/sutty/sutty into production.panel.sutty.nl

This commit is contained in:
Sutty 2024-03-18 20:55:53 +00:00
commit ce4636be8c
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ class ActorModerationsController < ApplicationController
@moderation_queue = rubanok_process(site.activity_pubs.where(actor_id: actor_moderation.actor_id), @moderation_queue = rubanok_process(site.activity_pubs.where(actor_id: actor_moderation.actor_id),
with: ActivityPubProcessor) with: ActivityPubProcessor)
breadcrumb @remote_profile['name'], '' breadcrumb @remote_profile['name'] || actor_moderation.actor.mention || actor_moderation.actor.uri, ''
end end
def action_on_several def action_on_several

View file

@ -39,7 +39,7 @@ class ActivityPub
# Arreglar las relaciones con actividades también # Arreglar las relaciones con actividades también
ActivityPub.where(object_id: object.id).update_all(object_type: object.type, updated_at: Time.now) ActivityPub.where(object_id: object.id).update_all(object_type: object.type, updated_at: Time.now)
rescue FastJsonparser::ParseError => e rescue FastJsonparser::ParseError => e
ExceptionNotifier.notify_exception(e, data: { site: site.name, body: response.body }) ExceptionNotifier.notify_exception(e, data: { site: site.name, object: object.uri, body: response.body })
end end
end end
end end