Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove mobile check for update_counts #1872

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions apps/reader/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
format_story_link_date__short,
strip_tags,
)
from utils.user_functions import ajax_login_required, extract_user_agent, get_user
from utils.user_functions import ajax_login_required, get_user
from utils.view_functions import (
get_argument_or_404,
is_true,
Expand Down Expand Up @@ -336,12 +336,6 @@ def load_feeds(request):
if flat:
return load_feeds_flat(request)

platform = extract_user_agent(request)
if platform in ["iPhone", "iPad", "Androd"]:
# Remove this check once the iOS and Android updates go out which have update_counts=False
# and then guarantee a refresh_feeds call
update_counts = False

try:
folders = UserSubscriptionFolders.objects.get(user=user)
except UserSubscriptionFolders.DoesNotExist:
Expand Down