Software /
code /
verse
Diff
bosh.lua @ 490:6b2f31da9610
Update for new Prosody module namespace
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 20 May 2023 20:48:03 +0200 |
parent | 411:db462d4feb44 |
line wrap: on
line diff
--- a/bosh.lua Tue May 23 19:46:52 2023 +0200 +++ b/bosh.lua Sat May 20 20:48:03 2023 +0200 @@ -1,8 +1,7 @@ -local new_xmpp_stream = require "util.xmppstream".new; -local st = require "util.stanza"; -require "net.httpclient_listener"; -- Required for net.http to work -local http = require "net.http"; +local new_xmpp_stream = require "prosody.util.xmppstream".new; +local st = require "prosody.util.stanza"; +local http = require "prosody.net.http"; local stream_mt = setmetatable({}, { __index = verse.stream_mt }); stream_mt.__index = stream_mt;