gab-social/app/services/unblock_service.rb
mgabdev 4100f3dd63 Removed unused ostatus, activitypub actions from service code
• Removed:
- unused ostatus, activitypub actions from service code
2020-11-09 12:25:14 -06:00

11 lines
224 B
Ruby

# frozen_string_literal: true
class UnblockService < BaseService
def call(account, target_account)
return unless account.blocking?(target_account)
unblock = account.unblock!(target_account)
unblock
end
end