Comparison

plugins/mod_pep.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 5004:047f6621e709
child 5170:3eaf4fc58902
comparison
equal deleted inserted replaced
5012:d59c842fe38e 5013:ab693eea0869
15 local is_contact_subscribed = require "core.rostermanager".is_contact_subscribed; 15 local is_contact_subscribed = require "core.rostermanager".is_contact_subscribed;
16 local pairs, ipairs = pairs, ipairs; 16 local pairs, ipairs = pairs, ipairs;
17 local next = next; 17 local next = next;
18 local type = type; 18 local type = type;
19 local calculate_hash = require "util.caps".calculate_hash; 19 local calculate_hash = require "util.caps".calculate_hash;
20 local core_post_stanza = prosody.core_post_stanza;
20 21
21 local NULL = {}; 22 local NULL = {};
22 local data = {}; 23 local data = {};
23 local recipients = {}; 24 local recipients = {};
24 local hash_map = {}; 25 local hash_map = {};