From 10805558527389e49498611c75b328a22c3d67dc Mon Sep 17 00:00:00 2001 From: Paul Aurich Date: Sat, 5 Dec 2009 09:43:53 -0800 Subject: mod_pep: Allow storage of urn:xmpp:avatar:data node (payload only with base64 data) --- plugins/mod_pep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index bfe22867..a601e2a7 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -39,7 +39,7 @@ module:add_feature("http://jabber.org/protocol/pubsub#publish"); local function publish(session, node, item) item.attr.xmlns = nil; - local disable = #item.tags ~= 1 or #item.tags[1].tags == 0; + local disable = #item.tags ~= 1 or #item.tags[1] == 0; if #item.tags == 0 then item.name = "retract"; end local bare = session.username..'@'..session.host; local stanza = st.message({from=bare, type='headline'}) -- cgit v1.2.3