diff options
author | Paul Aurich <paul@darkrain42.org> | 2009-12-05 09:43:53 -0800 |
---|---|---|
committer | Paul Aurich <paul@darkrain42.org> | 2009-12-05 09:43:53 -0800 |
commit | 10805558527389e49498611c75b328a22c3d67dc (patch) | |
tree | 7fb13b3c168d1b2e4875d93ba2c90186c32b47c6 /plugins | |
parent | 7be6d854c15df979cf2079efe9a282b208d7692d (diff) | |
download | prosody-10805558527389e49498611c75b328a22c3d67dc.tar.gz prosody-10805558527389e49498611c75b328a22c3d67dc.zip |
mod_pep: Allow storage of urn:xmpp:avatar:data node (payload only with base64 data)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pep.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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'}) |