diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-26 10:32:11 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-26 16:25:25 +0200 |
commit | 0baebf01516b68f07fe69038828f503a517b0d34 (patch) | |
tree | 1b99a72da55776b57cf2b0f585b0011ab0b4ad2c /lib/stream.ml | |
parent | 2402c5c9d027d13f864121bde1d8948c0d5efddc (diff) |
refactor(portal_ws): stanza_open to header
Diffstat (limited to 'lib/stream.ml')
-rw-r--r-- | lib/stream.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream.ml b/lib/stream.ml index ea64f0a..c817571 100644 --- a/lib/stream.ml +++ b/lib/stream.ml @@ -45,7 +45,7 @@ let start domain : Portal.t Lwt.t = in let push = function | None -> Portal.close (stream, _push); | anything -> _push anything - in let+ _id = Portal.negotiate domain (stream, _push) + in let+ _id = Portal.header domain (stream, _push) in stream, push (** [parse_features el] is a [stream_features] record with all the features of the |