diff options
author | Clombrong <cromblong@egregore.fun> | 2025-08-14 22:20:14 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-08-14 22:20:14 +0200 |
commit | 05416c1df66b376fc135a7202505c66ee49d71a6 (patch) | |
tree | 9cfd74858bee03ab3d709868637d2bb37fe04271 /test | |
parent | 3e17f2e52c19f6da0bb7377909e461b9bd433ebe (diff) |
feat(session): refactor session state
session state is closer to the protocol
Diffstat (limited to 'test')
-rw-r--r-- | test/hello.ml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/hello.ml b/test/hello.ml index f4661c3..c7bf46e 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, connect = create config.sasl.jid.domainpart config in S.map (function - | Connected (portal, _) -> portal.push None; - Lwt.wakeup wakener () + | Connected (portal, Logged_in _) -> portal.push None; + Lwt.wakeup wakener () | _ -> ()) state |> S.keep; connect (); |