1
0
Fork 0
mirror of https://codeberg.org/june64/mrvc.git synced 2026-01-10 16:06:33 +01:00
Signed-off-by: HarHarLinks <HarHarLinks@noreply.codeberg.org>
This commit is contained in:
HarHarLinks 2025-08-19 17:16:51 +02:00
commit 11e59fd750
2 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ Room:
Given Aliases:
#element-x-ios:matrix.org
Version Support:
unkown -> 103
unknown -> 103
...
unknown -> 101
unknown -> 101

View file

@ -12,7 +12,7 @@ func getMaxRoomVersion(serverVersionInfo fclient.Version) string {
// Use only the first part of the version string as sometimes there are suffixes after a space, like " (<commit>)", which then can't be parsed.
serverVersion, err := version.NewVersion(strings.Split(serverVersionInfo.Server.Version, " ")[0])
if err != nil {
return "unkown"
return "unknown"
}
switch serverVersionInfo.Server.Name {
@ -191,6 +191,6 @@ func getMaxRoomVersion(serverVersionInfo fclient.Version) string {
// https://github.com/matrix-construct/tuwunel/blob/9b658d86b2f49d01ba8d2f5ae7f263a104e8f282/src/core/info/room_version.rs
return "v11"
default:
return "unkown"
return "unknown"
}
}