Software /
code /
prosody-modules
Diff
mod_auto_accept_subscriptions/mod_auto_accept_subscriptions.lua @ 776:841b5eb5fe52
mod_auto_accept_subscriptions: Import core_post_stanza
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 05 Aug 2012 02:32:17 +0100 |
parent | 596:b1d82ae063e1 |
child | 1343:7dbde05b48a9 |
line wrap: on
line diff
--- a/mod_auto_accept_subscriptions/mod_auto_accept_subscriptions.lua Sun Aug 05 02:27:58 2012 +0100 +++ b/mod_auto_accept_subscriptions/mod_auto_accept_subscriptions.lua Sun Aug 05 02:32:17 2012 +0100 @@ -1,6 +1,7 @@ local rostermanager = require "core.rostermanager"; local jid = require "util.jid"; local st = require "util.stanza"; +local core_post_stanza = prosody.core_post_stanza; local function handle_inbound_subscription_request(origin, stanza) local to_bare, from_bare = jid.bare(stanza.attr.to), jid.bare(stanza.attr.from);