aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-06-29 19:57:29 +0200
committerClombrong <cromblong@egregore.fun>2025-06-29 19:57:29 +0200
commit2cda07bc71e90f0b0d8cea6792192b5af88b35f7 (patch)
tree41c1acbede071a2ee296b82486240277b7cd13ad /test
parent305c0b127a15e4abd729cd923507330ddb5fd085 (diff)
feat(flesh): merge negotiate and initiate into connect function
Diffstat (limited to 'test')
-rw-r--r--test/hello.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hello.ml b/test/hello.ml
index e506ded..51468dd 100644
--- a/test/hello.ml
+++ b/test/hello.ml
@@ -13,7 +13,7 @@ let main =
other = [];
}
in let domain = (List.nth (String.split_on_char '@' config.sasl.jid) 1) in
- try%lwt Stream.initiate domain config >|= (fun (portal, _) -> portal.push None)
+ try%lwt connect domain config >|= (fun (portal, _) -> portal.push None)
with exn ->
begin
(* I suspect JavaScript's [wrap_callback] swallows the Exceptions thrown by