projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2f6d3a
)
PEP: Fixed namespace for the <item> element in PEP broadcasts.
author
Waqas Hussain
<waqas20@gmail.com>
Wed, 21 Oct 2009 21:12:24 +0000
(
02:12
+0500)
committer
Waqas Hussain
<waqas20@gmail.com>
Wed, 21 Oct 2009 21:12:24 +0000
(
02:12
+0500)
plugins/mod_pep.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_pep.lua
b/plugins/mod_pep.lua
index 842f1fcec04af2609b2513b28f25eaef64957edf..45cbc9fcf41f746d2637a76e0513a636258bd25c 100644
(file)
--- a/
plugins/mod_pep.lua
+++ b/
plugins/mod_pep.lua
@@
-29,6
+29,7
@@
module:add_identity("pubsub", "pep", "Prosody");
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;
if #item.tags == 0 then item.name = "retract"; end
local bare = session.username..'@'..session.host;