gateway: show/create the SimpleX contact link (simplex.connect_link seed)
Add a reusable corrId->Future request path to SimplexAdapter so the daemon can be queried off the event loop, expose it as GET /address on the local messaging bridge (injected address_provider; 503 unwired, 502 on daemon failure), and ship a simplex.connect_link seed that reports the bot's short and full contact link honestly, creating it on first call.
This commit is contained in:
1 parent
9057213217
commit
a9b096f2e8
12 files changed
+532
-28
No files matched your search
@@ -27,6 +27,7 @@ def test_expected_seeds_exist():
|
||||
ids = {seed_id(seed) for seed in SEED_DIRS}
|
||||
assert "calendar.next_event" in ids
|
||||
assert "simplex.next_message" in ids
|
||||
assert "simplex.connect_link" in ids
|
||||
|
||||
|
||||
@pytest.mark.parametrize("seed", SEED_DIRS, ids=[seed_id(s) for s in SEED_DIRS])
|
||||
|
||||
Reference in new issue
Block a user