From 5d31409b2e1a3624b23e894b606c1412546fc5ee Mon Sep 17 00:00:00 2001 From: Clombrong Date: Thu, 14 Aug 2025 23:01:59 +0200 Subject: feat!: use new opaque domain type in code --- lib/stream.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stream.ml') diff --git a/lib/stream.ml b/lib/stream.ml index b4d5833..23aac34 100644 --- a/lib/stream.ml +++ b/lib/stream.ml @@ -65,7 +65,7 @@ let parse_features (stanza : Xml.element) : features = (** [start domain portal] is a promise to features that starts a stream negotiation with the XMPP server [portal]. *) -let start (domain : string) (portal : Portal.t) : features Lwt.t = +let start (domain : Portal.domain) (portal : Portal.t) : features Lwt.t = let* _id = Portal.header domain portal in Wire.get portal.stream >|= parse_features -- cgit v1.2.3