From 78af2bac103ade168409506ce07b58654de524b3 Mon Sep 17 00:00:00 2001 From: Clombrong Date: Mon, 4 Aug 2025 12:21:46 +0200 Subject: feat(session): add states connecting and connected --- lib/session.ml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/session.ml') diff --git a/lib/session.ml b/lib/session.ml index 1b591b5..5b61346 100644 --- a/lib/session.ml +++ b/lib/session.ml @@ -3,6 +3,8 @@ open Lwt.Infix type state = | Disconnected + | Connecting + | Connected of Portal.t * Stream.features (** [connect domain config] is a promise containing the portal connected to the XMPP server located at [domain], and all its supported features. -- cgit v1.2.3