ActivityPub delivery (#4566)
* Deliver ActivityPub Like * Deliver ActivityPub Undo-Like * Deliver ActivityPub Create/Announce activities * Deliver ActivityPub creates from mentions * Deliver ActivityPub Block/Undo-Block * Deliver ActivityPub Accept/Reject-Follow * Deliver ActivityPub Undo-Follow * Deliver ActivityPub Follow * Deliver ActivityPub Delete activities Incidentally fix #889 * Adjust BatchedRemoveStatusService for ActivityPub * Add tests for ActivityPub workers * Add tests for FollowService * Add tests for FavouriteService, UnfollowService and PostStatusService * Add tests for ReblogService, BlockService, UnblockService, ProcessMentionsService * Add tests for AuthorizeFollowService, RejectFollowService, RemoveStatusService * Add tests for BatchedRemoveStatusService * Deliver updates to a local account to ActivityPub followers * Minor adjustments
This commit is contained in:
		@@ -15,6 +15,7 @@ class Settings::ProfilesController < ApplicationController
 | 
			
		||||
 | 
			
		||||
  def update
 | 
			
		||||
    if @account.update(account_params)
 | 
			
		||||
      ActivityPub::UpdateDistributionWorker.perform_async(@account.id)
 | 
			
		||||
      redirect_to settings_profile_path, notice: I18n.t('generic.changes_saved_msg')
 | 
			
		||||
    else
 | 
			
		||||
      render :show
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user