diff options
author | ThibG <thib@sitedethib.com> | 2020-01-11 21:36:53 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2020-01-11 21:36:53 +0100 |
commit | 57e2833f6a34c78c933b2941305eac8995c115e8 (patch) | |
tree | 2d5468efffb6e3212642591632ef39acd5fc6d79 /app | |
parent | 6ecc16de918494d295c080c448e719636352bff9 (diff) |
Remove dependency on OStatus2 gem (#12822)
Diffstat (limited to 'app')
-rw-r--r-- | app/models/account.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/models/account.rb b/app/models/account.rb index feaf273c1..1e8abe6ec 100644 --- a/app/models/account.rb +++ b/app/models/account.rb @@ -314,10 +314,6 @@ class Account < ApplicationRecord self.fields = tmp end - def subscription(webhook_url) - @subscription ||= OStatus2::Subscription.new(remote_url, secret: secret, webhook: webhook_url, hub: hub_url) - end - def save_with_optional_media! save! rescue ActiveRecord::RecordInvalid |