aboutsummaryrefslogtreecommitdiff
path: root/lib/stream.ml
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-08-14 23:01:59 +0200
committerClombrong <cromblong@egregore.fun>2025-08-15 00:14:28 +0200
commit5d31409b2e1a3624b23e894b606c1412546fc5ee (patch)
treee5829642358bec175685e23c5e0b77b9f1c101c6 /lib/stream.ml
parentcbdbb587236f8d747ae5baf4b4f92e9458dff4f1 (diff)
feat!: use new opaque domain type in code
Diffstat (limited to 'lib/stream.ml')
-rw-r--r--lib/stream.ml2
1 files changed, 1 insertions, 1 deletions
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