mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
PuSH unsubscribe needs correct callback URL
This commit is contained in:
@@ -4,7 +4,7 @@ class BlockDomainService < BaseService
|
||||
|
||||
Account.where(domain: domain).find_each do |account|
|
||||
if account.subscribed?
|
||||
account.subscription('').unsubscribe
|
||||
account.subscription(api_subscription_url(account.id)).unsubscribe
|
||||
end
|
||||
|
||||
account.destroy!
|
||||
|
||||
Reference in New Issue
Block a user