mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Merge kyledrake changes
This commit is contained in:
commit
cd78c91abb
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class Site < Sequel::Model
|
|||
end
|
||||
|
||||
def unseen_notifications_dataset
|
||||
events_dataset.where notification_seen: false
|
||||
events_dataset.where(notification_seen: false).exclude(actioning_site_id: self.id)
|
||||
end
|
||||
|
||||
def unseen_notifications_count
|
||||
|
|
Loading…
Add table
Reference in a new issue