Fix duplicate notifications being possible after poll expiration (#17697)
This commit is contained in:
parent
04c3ac896a
commit
2ea754b861
8 changed files with 13 additions and 11 deletions
|
@ -66,7 +66,7 @@ class FeedInsertWorker
|
|||
end
|
||||
|
||||
def perform_notify
|
||||
NotifyService.new.call(@follower, :status, @status)
|
||||
LocalNotificationWorker.perform_async(@follower.id, @status.id, 'Status', 'status')
|
||||
end
|
||||
|
||||
def update?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue