aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pep.lua
diff options
context:
space:
mode:
authorPaul Aurich <paul@darkrain42.org>2009-12-05 09:43:53 -0800
committerPaul Aurich <paul@darkrain42.org>2009-12-05 09:43:53 -0800
commit2ed54274630554597aa47f02471c04b2a1eb6c69 (patch)
tree744f0ec788cb2f4061b4937c5d178e286f0401ce /plugins/mod_pep.lua
parentfe45368b05889419c4f082edd0eddb5a5713cb34 (diff)
downloadprosody-2ed54274630554597aa47f02471c04b2a1eb6c69.tar.gz
prosody-2ed54274630554597aa47f02471c04b2a1eb6c69.zip
mod_pep: Allow storage of urn:xmpp:avatar:data node (payload only with base64 data)
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r--plugins/mod_pep.lua2
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'})