mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 23:01:36 +01:00
Don't PuSH-resubscribe if already subscribed
This commit is contained in:
parent
149887a0ff
commit
514fdfa268
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class FollowService < BaseService
|
|||
if target_account.local?
|
||||
NotifyService.new.call(target_account, follow)
|
||||
else
|
||||
subscribe_service.call(target_account)
|
||||
subscribe_service.call(target_account) unless target_account.subscribed?
|
||||
NotificationWorker.perform_async(stream_entry_to_xml(follow.stream_entry), source_account.id, target_account.id)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue