Check for synapse enable_3pid_changes option

This commit is contained in:
Hugh Nimmo-Smith
2023-08-31 16:05:21 +01:00
committed by Quentin Gliech
parent b3058b28b3
commit c0d41d0400

View File

@@ -141,4 +141,8 @@ export async function advisor(argv?: string[]): Promise<void> {
if (synapseRefreshToken > 0) {
log.info(`Synapse database contains ${synapseRefreshToken} refresh tokens which will be migrated`);
}
if (synapseConfig.enable_3pid_changes === true) {
warn("Synapse config has enable_3pid_changes enabled which must to be disabled or removed after migration");
}
}