aboutsummaryrefslogtreecommitdiff
path: root/lib/stream.ml
diff options
context:
space:
mode:
authorClombrong <cromblong@egregore.fun>2025-08-15 21:04:04 +0200
committerClombrong <cromblong@egregore.fun>2025-08-15 22:54:43 +0200
commit0fc9103f770e6135b6f7bc6145b685bb51b89ceb (patch)
tree764f50c1034f23cc953915508a86b5c211be3f33 /lib/stream.ml
parentd9de994b158a83122aa5623c3a2f848154d8140c (diff)
feat: rename Wire to Segment
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]. *)