Dehydrated devices.
Enabling Dehydrated Devices Support
To enable the dehydrated devices feature via the admin console in the Element Server Suite, follow these steps. This process assumes you have access to the admin console and the necessary permissions to make these changes.
Step 1:
Access the Admin Console
-
LogRuninthe ESS Installer: -
./element-enterprise-graphical-installer-YYYY-MM.VERSION-gui.bin
Step 2: Configure
Enable the .well-knownExperimental Endpoint
Feature in Synapse
Enable the Experimental Feature:
Add or modify the configuration to include:
experimental_features:
msc3814_enabled: true
Save your changes:
Configure the .well-known Endpoint
Navigate to the Additional Client Configuration config from the .Well-Known Section:
Add the .well-known Key:
Locate the settings for the .well-known/matrix/client configuration.
Add the following key-value pair:
{
"org.matrix.msc3814": "true"
}
Save and Apply Changes:
- Save the changes in the
admininstallerconsole.GUI.
Deploy your ESS changes
StepTesting 3:Dehydrated Enable the Experimental Feature in SynapseDevices
Navigate to Synapse Configuration:
Enable the Experimental Feature:
Locate the experimental_features section.
Add or modify the configuration to include:
experimental_features:
msc3814_enabled: true
Save and Restart Synapse:
Step 4:
Enable the Feature invia Element Web
(per User)
Save and Apply Changes:
Step 5:
Test the Configuration
-
Log in to Account A:
- Ensure Account A has only one active web session.
- Ensure you have enabled device dehydration.
- Log out of Account A.
-
Send a Message from Account B to Account A:
- Using Account B, send a message to Account A.
-
Log Back into Account A and Verify:
- Log in to Account A again.
- Verify the account using the recovery key.
Account A should be able to read the message sent by Account B, despite having no logged-in sessions when the message was sent.
Additional Notes
-
Web Client and iOS Only:
- The dehydrated devices feature works only on
theElementweb clientWeb and iOS. Ensure you are using one of these clients to test the feature.
- The dehydrated devices feature works only on
Verification:After logging back into Account A, you should see the message sent by Account B.
Summary
By following these steps via the admin console of the Element Server Suite, you will enable the dehydrated devices feature. This involves configuring the .well-known endpoint, enabling the feature in Synapse, and ensuring the Element Web client recognizes the experimental feature. Test the setup thoroughly to confirm that everything is working as expected.