mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	compatibility: Add a compatibility check to api_get_server_settings.
This should make it convenient for the mobile app to present errors of the form "Your Zulip app is not new enough for this Zulip server".
This commit is contained in:
		| @@ -590,7 +590,8 @@ urls += [ | ||||
| urls += [ | ||||
|     # This json format view used by the mobile apps lists which | ||||
|     # authentication backends the server allows as well as details | ||||
|     # like the requested subdomains'd realm icon (if known). | ||||
|     # like the requested subdomains'd realm icon (if known) and | ||||
|     # server-specific compatibility. | ||||
|     url(r'^api/v1/server_settings', zerver.views.auth.api_get_server_settings), | ||||
|     # This is a deprecated old version of api/v1/server_settings that only returns auth backends. | ||||
|     url(r'^api/v1/get_auth_backends', zerver.views.auth.api_get_auth_backends, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user