1
0
Fork 0
mirror of https://codeberg.org/june64/mrvc.git synced 2026-01-09 23:52:54 +01:00

add Grapevine to max version check

This commit is contained in:
June 2025-08-18 21:14:33 +02:00
commit 1d54594b65
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -116,6 +116,12 @@ func getMaxRoomVersion(serverVersionInfo fclient.Version) string {
default:
return "v6"
}
case "grapevine":
// https://grapevine.computer.surgery/
// https://gitlab.computer.surgery/matrix/grapevine
// Grapevine was forked from Conduit 0.7.0, which supports v11.
return "v11"
case "Synapse":
// If the version is a Synapse Pro one, check against known Synapse Pro versions first and then fallback to checking against regular Synapse versions.
// https://element.io/server-suite/synapse-pro