Software /
code /
verse
Comparison
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 |
comparison
equal
deleted
inserted
replaced
489:39ed19f12dca | 490:6b2f31da9610 |
---|---|
1 | 1 |
2 local new_xmpp_stream = require "util.xmppstream".new; | 2 local new_xmpp_stream = require "prosody.util.xmppstream".new; |
3 local st = require "util.stanza"; | 3 local st = require "prosody.util.stanza"; |
4 require "net.httpclient_listener"; -- Required for net.http to work | 4 local http = require "prosody.net.http"; |
5 local http = require "net.http"; | |
6 | 5 |
7 local stream_mt = setmetatable({}, { __index = verse.stream_mt }); | 6 local stream_mt = setmetatable({}, { __index = verse.stream_mt }); |
8 stream_mt.__index = stream_mt; | 7 stream_mt.__index = stream_mt; |
9 | 8 |
10 local xmlns_stream = "http://etherx.jabber.org/streams"; | 9 local xmlns_stream = "http://etherx.jabber.org/streams"; |