Add list exclusive property stl support

This commit is contained in:
KMY 2023-06-07 14:48:43 +09:00
parent edb2a5dcf3
commit f59eb4c6d3
6 changed files with 19 additions and 12 deletions

View file

@ -39,7 +39,7 @@ class FeedInsertWorker
when :tags
FeedManager.instance.filter?(:tags, @status, @follower)
when :list
FeedManager.instance.filter?(:list, @status, @list)
FeedManager.instance.filter?(:list, @status, @list, stl_home?)
end
end
@ -74,4 +74,8 @@ class FeedInsertWorker
def update?
@options[:update]
end
def stl_home?
@options[:stl_home]
end
end