From 1dda1b27a8aceb73d29edf8b61f073c5c94b0b90 Mon Sep 17 00:00:00 2001 From: ycc Date: Sat, 9 Dec 2023 20:09:55 +0100 Subject: [PATCH] Server lists simplify --- client/identity.go | 2 -- client/server.go | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/client/identity.go b/client/identity.go index 0a98b21..38dfe58 100644 --- a/client/identity.go +++ b/client/identity.go @@ -24,8 +24,6 @@ type Identity struct { Device meowlib.KeyPair `json:"device,omitempty"` KnownServers ServerList `json:"known_servers,omitempty"` MessageServers ServerList `json:"message_servers,omitempty"` - ArchiveServers ServerList `json:"archive_servers,omitempty"` - OwnedServers ServerList `json:"owned_servers,omitempty"` DefaultDbPassword string `json:"default_db_password,omitempty"` DbPasswordStore bool `json:"db_password_store,omitempty"` OwnedDevices PeerList `json:"owned_devices,omitempty"` diff --git a/client/server.go b/client/server.go index 8bf1138..ccd6263 100644 --- a/client/server.go +++ b/client/server.go @@ -27,6 +27,7 @@ type Server struct { ManagerKp meowlib.KeyPair `json:"manager_kp,omitempty"` Country string `json:"country,omitempty"` AllowedDelay int `json:"allowed_delay,omitempty"` + Backup bool `json:"backup,omitempty"` } // CreateServerFromUrl creates a server from a basic url, ex : https://my.meowserver.example:8443/meow/