Software /
code /
prosody
Comparison
plugins/mod_bosh.lua @ 5013:ab693eea0869
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 26 Jul 2012 04:33:17 +0200 |
parent | 4998:f6c1f98419be |
child | 5031:28d56268a72d |
comparison
equal
deleted
inserted
replaced
5012:d59c842fe38e | 5013:ab693eea0869 |
---|---|
12 local new_xmpp_stream = require "util.xmppstream".new; | 12 local new_xmpp_stream = require "util.xmppstream".new; |
13 local sm = require "core.sessionmanager"; | 13 local sm = require "core.sessionmanager"; |
14 local sm_destroy_session = sm.destroy_session; | 14 local sm_destroy_session = sm.destroy_session; |
15 local new_uuid = require "util.uuid".generate; | 15 local new_uuid = require "util.uuid".generate; |
16 local fire_event = prosody.events.fire_event; | 16 local fire_event = prosody.events.fire_event; |
17 local core_process_stanza = core_process_stanza; | 17 local core_process_stanza = prosody.core_process_stanza; |
18 local st = require "util.stanza"; | 18 local st = require "util.stanza"; |
19 local logger = require "util.logger"; | 19 local logger = require "util.logger"; |
20 local log = logger.init("mod_bosh"); | 20 local log = logger.init("mod_bosh"); |
21 | 21 |
22 local xmlns_streams = "http://etherx.jabber.org/streams"; | 22 local xmlns_streams = "http://etherx.jabber.org/streams"; |