This commit is contained in:
BoHung Chiu 2022-05-23 13:23:37 +08:00
parent a126481acb
commit 10f7e57270
1 changed files with 2 additions and 0 deletions

View File

@ -442,6 +442,8 @@ class Bulletin
else
type = 'create'
end
elsif self.is_hidden
return []
end
related_feeds = self.get_related_feeds.select{|feed| feed.remote_urls.count != 0}
if related_feeds.count != 0