aboutsummaryrefslogtreecommitdiff
path: root/lib/stream.ml
diff options
context:
space:
mode:
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