From c633d0b1b27b96002c51228e7ade6327d687f4a1 Mon Sep 17 00:00:00 2001 From: Clombrong Date: Sat, 28 Jun 2025 12:53:47 +0200 Subject: feat(stream): pass down auth config to the negotiate 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 e55b44a..212d7f2 100644 --- a/test/hello.ml +++ b/test/hello.ml @@ -18,7 +18,7 @@ let main = preferred_mechanisms = [Sasl.PLAIN] } in let domain = (List.nth (String.split_on_char '@' config.jid) 1) in - let* portal, features = Stream.initiate domain in + let* portal, features = Stream.initiate domain config in Lwt.catch (fun () -> program portal config features >|= (fun () -> portal.push None)) (fun exn -> -- cgit v1.2.3