Do not try to re-subscribe to unsubscribed accounts (#4653)
This commit is contained in:
parent
ea958cae7f
commit
3534e115e5
4 changed files with 5 additions and 6 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
class SubscribeService < BaseService
|
||||
def call(account)
|
||||
return unless account.ostatus?
|
||||
return if account.hub_url.blank?
|
||||
|
||||
@account = account
|
||||
@account.secret = SecureRandom.hex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue