Removes get activity feed function
This commit is contained in:
@ -19,8 +19,7 @@ from bookwyrm.activitypub import ActivitypubResponse
|
||||
from bookwyrm.connectors import connector_manager
|
||||
from bookwyrm.connectors.abstract_connector import get_image
|
||||
from bookwyrm.settings import PAGE_LENGTH
|
||||
from .helpers import is_api_request, get_activity_feed, get_edition
|
||||
from .helpers import privacy_filter
|
||||
from .helpers import is_api_request, get_edition, privacy_filter
|
||||
|
||||
|
||||
# pylint: disable= no-self-use
|
||||
@ -53,7 +52,7 @@ class Book(View):
|
||||
|
||||
# all reviews for the book
|
||||
reviews = models.Review.objects.filter(book__in=work.editions.all())
|
||||
reviews = get_activity_feed(request.user, queryset=reviews)
|
||||
reviews = privacy_filter(request.user, reviews)
|
||||
|
||||
# the reviews to show
|
||||
paginated = Paginator(
|
||||
|
Reference in New Issue
Block a user