mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
mod_storage_xep0227: Fix mapping of nodes without explicit configuration
Turns out this table was wrong, it's missing some fields which are required and it's 'name', not 'node'. Setting it to the boolean true invokes compatibility behavior in mod_pep which results in the correct default structure.
This commit is contained in:
parent
e626855282
commit
e98f777bb2
1 changed files with 1 additions and 3 deletions
|
@ -306,9 +306,7 @@ handlers.pep = {
|
|||
return nil;
|
||||
end
|
||||
for node_el in pubsub_el:childtags("items") do
|
||||
nodes[node_el.attr.node] = {
|
||||
node = node_el.attr.node;
|
||||
}
|
||||
nodes[node_el.attr.node] = true; -- relies on COMPAT behavior in mod_pep
|
||||
end
|
||||
return nodes;
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue