Add ActivityPub attributes to accounts (#4273)
This commit is contained in:
@ -2,6 +2,8 @@
|
||||
|
||||
class SubscribeService < BaseService
|
||||
def call(account)
|
||||
return unless account.ostatus?
|
||||
|
||||
@account = account
|
||||
@account.secret = SecureRandom.hex
|
||||
@response = build_request.perform
|
||||
|
Reference in New Issue
Block a user