mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	realm: Refactor VIDEO_CHAT_PROVIDERS to have all possible options.
Refactors Realm.VIDEO_CHAT_PROIVDERS to have all the possible options for video chat integrations, and use get_enabled_video_chat_providers to compute the enabled options for the realm. Prep for adding Zoom server to server video chat integration.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							ef2f8c0796
						
					
				
				
					commit
					f13a1a48f7
				
			@@ -354,7 +354,7 @@ def fetch_initial_state_data(
 | 
			
		||||
        # can be removed once there are no longer clients relying on it.
 | 
			
		||||
        state["realm_url"] = state["realm_uri"] = realm.url
 | 
			
		||||
        state["realm_bot_domain"] = realm.get_bot_domain()
 | 
			
		||||
        state["realm_available_video_chat_providers"] = realm.VIDEO_CHAT_PROVIDERS
 | 
			
		||||
        state["realm_available_video_chat_providers"] = realm.get_enabled_video_chat_providers()
 | 
			
		||||
        state["settings_send_digest_emails"] = settings.SEND_DIGEST_EMAILS
 | 
			
		||||
 | 
			
		||||
        state["realm_digest_emails_enabled"] = (
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user