Adding unified streamable notifications
This commit is contained in:
parent
3838e6836d
commit
da2ef4d676
20 changed files with 205 additions and 44 deletions
|
@ -10,7 +10,7 @@ class FavouriteService < BaseService
|
|||
HubPingWorker.perform_async(account.id)
|
||||
|
||||
if status.local?
|
||||
NotificationMailer.favourite(status, account).deliver_later unless status.account.blocking?(account)
|
||||
NotifyService.new.call(status.account, favourite)
|
||||
else
|
||||
NotificationWorker.perform_async(favourite.stream_entry.id, status.account_id)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue