mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
decorator: Remove ancient client_name hack for iOS.
The old iOS app has been gone from the app store for 8 months, never had a huge userbase, and its latest version didn't need this hack. So this code is unlikely to do anything in the future; remove it to declutter our authentication decorators codebase.
This commit is contained in:
@@ -169,11 +169,6 @@ def process_client(request, user_profile, is_json_view=False, client_name=None,
|
||||
if client_name is None:
|
||||
client_name = get_client_name(request, is_json_view)
|
||||
|
||||
# Transitional hack for early 2014. Eventually the ios clients
|
||||
# will all report ZulipiOS, and we can remove the next couple lines.
|
||||
if client_name == 'ios':
|
||||
client_name = 'ZulipiOS'
|
||||
|
||||
request.client = get_client(client_name)
|
||||
if not remote_server_request:
|
||||
update_user_activity(request, user_profile)
|
||||
|
||||
Reference in New Issue
Block a user