From 2cda07bc71e90f0b0d8cea6792192b5af88b35f7 Mon Sep 17 00:00:00 2001 From: Clombrong Date: Sun, 29 Jun 2025 19:57:29 +0200 Subject: feat(flesh): merge negotiate and initiate into connect function --- test/hello.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.3