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

@@ -49,6 +49,6 @@ class NotificationRequest < ApplicationRecord
private
def prepare_notifications_count
self.notifications_count = Notification.where(account: account, from_account: from_account, type: :mention, filtered: true).limit(MAX_MEANINGFUL_COUNT).count
self.notifications_count = Notification.where(account: account, from_account: from_account, type: [:mention, :quote], filtered: true).limit(MAX_MEANINGFUL_COUNT).count
end
end