Add ActivityPub attributes to accounts (#4273)

This commit is contained in:
Eugen Rochko
2017-07-19 17:06:46 +02:00
committed by GitHub
parent f0d6550f16
commit bbdcfd6baf
6 changed files with 27 additions and 2 deletions

View File

@ -2,6 +2,8 @@
class SubscribeService < BaseService
def call(account)
return unless account.ostatus?
@account = account
@account.secret = SecureRandom.hex
@response = build_request.perform