0
0
Fork 0

Fix duplicate notifications being possible after poll expiration (#17697)

This commit is contained in:
Eugen Rochko 2022-03-04 01:06:33 +01:00 committed by GitHub
parent 04c3ac896a
commit 2ea754b861
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 11 deletions

View file

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