2
0

Add notifications for inbound quotes (#35618)

This commit is contained in:
Claire
2025-08-01 11:12:46 +02:00
committed by GitHub
parent d09f866daa
commit 29a5f059d2
6 changed files with 22 additions and 4 deletions

View File

@@ -247,7 +247,7 @@ class NotifyService < BaseService
end
def update_notification_request!
return unless @notification.type == :mention
return unless %i(mention quote).include?(@notification.type)
notification_request = NotificationRequest.find_or_initialize_by(account_id: @recipient.id, from_account_id: @notification.from_account_id)
notification_request.last_status_id = @notification.target_status.id