diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-28 12:53:47 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-28 16:44:54 +0200 |
commit | c633d0b1b27b96002c51228e7ade6327d687f4a1 (patch) | |
tree | e4da8446c0c46112a3fe2edb29da6e5970d1c269 /test | |
parent | b0e746b6c0f9cd9393ff105e6d0e0f0e33ee6a43 (diff) |
feat(stream): pass down auth config to the negotiate function
Diffstat (limited to 'test')
-rw-r--r-- | test/hello.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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 -> |