Select subclasses in rss feed

This commit is contained in:
Mouse Reeve 2021-02-24 12:35:43 -08:00
parent a5ee535ab6
commit c7d8548614

View file

@ -27,7 +27,10 @@ class RssFeed(Feed):
def items(self, obj):
''' the user's activity feed '''
return get_activity_feed(
obj, privacy=['public', 'unlisted'], queryset=obj.status_set)
obj,
privacy=['public', 'unlisted'],
queryset=obj.status_set.select_subclasses()
)
def item_link(self, item):