Mercurial > prosody-modules
comparison mod_bidi/mod_bidi.lua @ 932:4e235e565693
mod_bidi, mod_dwd, mod_s2s_idle_timeout: Update for recent 0.9 changes (612467e263af)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 22 Mar 2013 14:24:05 +0000 |
parents | 4cd018025a26 |
children | c714ed7de4ee |
comparison
equal
deleted
inserted
replaced
931:e20e94d75fe3 | 932:4e235e565693 |
---|---|
63 bidi_session.close = function(...) | 63 bidi_session.close = function(...) |
64 return origin.close(...); | 64 return origin.close(...); |
65 end | 65 end |
66 | 66 |
67 bidi_session.log("info", "Bidirectional session established"); | 67 bidi_session.log("info", "Bidirectional session established"); |
68 s2smanager.make_authenticated(bidi_session, remote_host); | 68 module:fire_event("s2s-authenticated", { session = bidi_session, host = remote_host }); |
69 return bidi_session; | 69 return bidi_session; |
70 end | 70 end |
71 | 71 |
72 -- Incoming s2s | 72 -- Incoming s2s |
73 module:hook("s2s-stream-features", function(event) | 73 module:hook("s2s-stream-features", function(event) |