mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-17 21:40:13 +00:00
ci: create the iOS backend's probe user before its first named command
A client started with -s gives that server every role, names included, only to the users that exist when it starts, so the name probe's first connect plan on a new database failed with NO_NAME_SERVERS (run 38904976359). The user is now created by a plain run first, as every other peer is and as desktop's backend does.
This commit is contained in:
@@ -334,6 +334,8 @@ seed_names() {
|
||||
# What the app will resolve, from a client that knows none of the names' owners.
|
||||
probe_names() {
|
||||
local target pattern
|
||||
# -s gives its server the names role only to users that exist when the client starts
|
||||
chat probe 1 "/u" --user-display-name ci_probe
|
||||
for target in "#cinews.testing|ok to connect via relays" "@cialice.testing|contact address: ok to connect" "@cibobby.testing|contact address: ok to connect" "ciboth.testing|You can also connect to @ciboth"; do
|
||||
pattern=${target#*|}
|
||||
target=${target%%|*}
|
||||
|
||||
Reference in New Issue
Block a user