0
0
Fork 0

Remove dependency on OStatus2 gem (#12822)

This commit is contained in:
ThibG 2020-01-11 21:36:53 +01:00 committed by Eugen Rochko
parent 6ecc16de91
commit 57e2833f6a
4 changed files with 0 additions and 16 deletions

View file

@ -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