mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 05:07:42 +03:00
util.datamapper: Revert one special attribute to longer form
Had a name, using attr() broke it.
This commit is contained in:
parent
f36d7d1161
commit
45acd03672
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ describe("util.datampper", function()
|
|||
type = "object";
|
||||
xml = {namespace = "urn:xmpp:reactions:0"; name = "reactions"};
|
||||
properties = {
|
||||
to = attr();
|
||||
to = {type = "string"; xml = {attribute = true; name = "id"}};
|
||||
reactions = {type = "array"; items = {type = "string"; xml = {name = "reaction"}}};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue