diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-26 00:24:25 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-26 00:24:25 +0200 |
commit | 1d54e3f65f661d8b5e8f12fa347caab27b968c16 (patch) | |
tree | e260f71088b154bce9fc62d248e3126db696ddc5 /test | |
parent | fdeff689457eab5c77133930f27d45df826dce58 (diff) |
feat(portal): make portal_tcp an implementation of Portal
Diffstat (limited to 'test')
-rw-r--r-- | test/native/native_hello.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/native/native_hello.ml b/test/native/native_hello.ml index ad6c6b4..f2d1546 100644 --- a/test/native/native_hello.ml +++ b/test/native/native_hello.ml @@ -1,5 +1,5 @@ open! Lwt.Syntax -open! Portal_tcp +open! Portal let () = Lwt_main.run @@ @@ -7,6 +7,6 @@ let () = and _password = Sys.getenv "FLESH_PASSWORD" in let domain = (List.nth (String.split_on_char '@' jid) 1) in let* stream, push = connect domain - in Portal_tcp.stanza_open domain |> Option.some |> push; + in Portal.stanza_open domain |> Option.some |> push; let+ _s = Markup_lwt.next stream - in Portal_tcp.stanza_close |> Option.some |> push; + in Portal.stanza_close |> Option.some |> push; |