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 84b2cb2..29d88be 100644
--- a/lib/stream.ml
+++ b/lib/stream.ml
@@ -69,7 +69,7 @@ let parse_features (stanza : Xml.element) : features =
the XMPP server [portal]. *)
let start (portal : Portal.t) : features Lwt.t =
let* _id = Portal.header portal
- in Wire.get portal.stream >|= parse_features
+ in Segment.get portal.stream >|= parse_features
(** [negotiate mandatory feature portal] negotiates the feature [feature] with the XMPP
server at [portal]. *)