Remove dependency on OStatus2 gem (#12822)
This commit is contained in:
parent
6ecc16de91
commit
57e2833f6a
4 changed files with 0 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue