Skip to content

Commit

Permalink
Remove: #609 グループ機能を削除
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode committed Jul 17, 2024
1 parent 513f1d1 commit 4c2104c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
5 changes: 0 additions & 5 deletions app/lib/activitypub/activity/create.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ def process_status
process_references!
distribute
forward_for_reply
join_group!
end

def distribute
Expand Down Expand Up @@ -647,8 +646,4 @@ def quote_from_tags
end
@quote_from_tags = hit_tag && hit_tag['href']
end

def join_group!
GroupReblogService.new.call(@status)
end
end
19 changes: 0 additions & 19 deletions app/services/group_reblog_service.rb

This file was deleted.

1 change: 0 additions & 1 deletion app/services/post_status_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ def postprocess_status!
DistributionWorker.perform_async(@status.id)
ActivityPub::DistributionWorker.perform_async(@status.id) unless @status.personal_limited?
PollExpirationNotifyWorker.perform_at(@status.poll.expires_at, @status.poll.id) if @status.poll
GroupReblogService.new.call(@status) unless @status.personal_limited?
end

def validate_status!
Expand Down

0 comments on commit 4c2104c

Please sign in to comment.