mirror of
				https://github.com/spantaleev/matrix-docker-ansible-deploy.git
				synced 2025-10-26 21:10:41 +01:00 
			
		
		
		
	* Enable location sharing in Element * Update roles/custom/matrix-client-element/tasks/validate_config.yml Co-authored-by: Slavi Pantaleev <slavi@devture.com> * Update roles/custom/matrix-client-element/tasks/setup_install.yml Co-authored-by: Slavi Pantaleev <slavi@devture.com> * Rename location sharing vars to be consistent with other vars * Rename style.json to map_style.json * Add m.tile_server section to /.well-known/matrix/client Co-authored-by: Slavi Pantaleev <slavi@devture.com>
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Django/Jinja
		
	
	
	
	
	
| #jinja2: lstrip_blocks: "True"
 | |
| {
 | |
| 	"m.homeserver": {
 | |
| 		"base_url": "{{ matrix_homeserver_url }}"
 | |
| 	}
 | |
| 	{% if matrix_identity_server_url %},
 | |
| 	"m.identity_server": {
 | |
| 		"base_url": "{{ matrix_identity_server_url }}"
 | |
| 	}
 | |
| 	{% endif %}
 | |
| 	{% if matrix_integration_manager_rest_url and matrix_integration_manager_ui_url %},
 | |
| 	"m.integrations": {
 | |
| 		"managers": [
 | |
| 			{
 | |
| 				"api_url": "{{ matrix_integration_manager_rest_url }}",
 | |
| 				"ui_url": "{{ matrix_integration_manager_ui_url }}"
 | |
| 			}
 | |
| 		]
 | |
| 	}
 | |
| 	{% endif %}
 | |
| 	{% if matrix_client_element_jitsi_preferredDomain %},
 | |
| 	"io.element.jitsi": {
 | |
| 		"preferredDomain": {{ matrix_client_element_jitsi_preferredDomain|to_json }}
 | |
| 	},
 | |
| 	"im.vector.riot.jitsi": {
 | |
| 		"preferredDomain": {{ matrix_client_element_jitsi_preferredDomain|to_json }}
 | |
| 	}
 | |
| 	{% endif %}
 | |
| 	{% if matrix_client_element_location_sharing_enabled %},
 | |
| 	"m.tile_server": {
 | |
|         "map_style_url": "https://{{ matrix_server_fqn_element }}/map_style.json"
 | |
|     }
 | |
| 	{% endif %}
 | |
| 	,
 | |
| 	"io.element.e2ee": {
 | |
| 		"default": {{ matrix_client_element_e2ee_default|to_json }},
 | |
| 		"secure_backup_required": {{ matrix_client_element_e2ee_secure_backup_required|to_json }},
 | |
| 		"secure_backup_setup_methods": {{ matrix_client_element_e2ee_secure_backup_setup_methods|to_json }}
 | |
| 	},
 | |
| 	"im.vector.riot.e2ee": {
 | |
| 		"default": {{ matrix_client_element_e2ee_default|to_json }}
 | |
| 	}
 | |
| }
 |