mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-07-03 17:42:08 +00:00
enable name resolution via Flux servers
This commit is contained in:
@@ -39,8 +39,8 @@ operatorFlux =
|
||||
serverDomains = ["simplexonflux.com"],
|
||||
conditionsAcceptance = CARequired Nothing,
|
||||
enabled = True,
|
||||
smpRoles = ServerRoles {storage = False, proxy = True, names = False},
|
||||
xftpRoles = ServerRoles {storage = False, proxy = True, names = False}
|
||||
smpRoles = ServerRoles {storage = False, proxy = True, names = True},
|
||||
xftpRoles = allRoles
|
||||
}
|
||||
|
||||
-- Please note: if any servers are removed from the lists below, they MUST be added here.
|
||||
|
||||
@@ -19,7 +19,7 @@ ALTER TABLE groups ADD COLUMN group_domain_verified SMALLINT;
|
||||
ALTER TABLE user_contact_links ADD COLUMN link_priv_sig_key BYTEA;
|
||||
|
||||
ALTER TABLE server_operators ADD COLUMN smp_role_names SMALLINT NOT NULL DEFAULT 0;
|
||||
UPDATE server_operators SET smp_role_names = 1 WHERE server_operator_tag = 'simplex';
|
||||
UPDATE server_operators SET smp_role_names = 1 WHERE server_operator_tag = 'simplex' OR server_operator_tag = 'flux';
|
||||
|]
|
||||
|
||||
down_m20260603_simplex_name :: Text
|
||||
|
||||
@@ -18,7 +18,7 @@ ALTER TABLE groups ADD COLUMN group_domain_verified INTEGER;
|
||||
ALTER TABLE user_contact_links ADD COLUMN link_priv_sig_key BLOB;
|
||||
|
||||
ALTER TABLE server_operators ADD COLUMN smp_role_names INTEGER NOT NULL DEFAULT 0;
|
||||
UPDATE server_operators SET smp_role_names = 1 WHERE server_operator_tag = 'simplex';
|
||||
UPDATE server_operators SET smp_role_names = 1 WHERE server_operator_tag = 'simplex' OR server_operator_tag = 'flux';
|
||||
|]
|
||||
|
||||
down_m20260603_simplex_name :: Query
|
||||
|
||||
Reference in New Issue
Block a user