aboutsummaryrefslogtreecommitdiff
path: root/test/hello.ml
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-08-17 17:20:28 +0200
committerClombrong <cromblong@egregore.fun>2025-08-17 17:20:28 +0200
commit18d42dba3b3d8485dde3184883ce7c8d6e8ab52c (patch)
tree17fcd2874340cbf443f51172a92de79df9332abb /test/hello.ml
parentba1ceb58e4661d07bfd8fbdf7f57b29bbeccf38f (diff)
feat(session): refactor states according to new interface
Diffstat (limited to 'test/hello.ml')
-rw-r--r--test/hello.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hello.ml b/test/hello.ml
index 3504af4..9388b75 100644
--- a/test/hello.ml
+++ b/test/hello.ml
@@ -18,8 +18,8 @@ let main =
let waiter, wakener = Lwt.wait () in
try%lwt let* { state; update } = create config in
S.map (function
- | Connected (portal, Logged_in _) -> portal.push None;
- Lwt.wakeup wakener ()
+ | Negotiating (portal, Logged_in _) -> portal.push None;
+ Lwt.wakeup wakener ()
| _ -> ())
state |> S.keep;
connect { state; update } config.sasl.jid.domainpart;