projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c97fe0
)
util.dataforms: Support for jid-single field type especially for Florob :)
author
Matthew Wild
<mwild1@gmail.com>
Sat, 10 Oct 2009 01:21:25 +0000
(
02:21
+0100)
committer
Matthew Wild
<mwild1@gmail.com>
Sat, 10 Oct 2009 01:21:25 +0000
(
02:21
+0100)
util/dataforms.lua
patch
|
blob
|
history
diff --git
a/util/dataforms.lua
b/util/dataforms.lua
index ed62f9b185dfdc60a23ca287987344d9c9e14617..1619ddc58f391091fd3c1faccc81ccfc40c27512 100644
(file)
--- a/
util/dataforms.lua
+++ b/
util/dataforms.lua
@@
-106,6
+106,9
@@
field_readers["text-single"] =
field_readers["text-private"] =
field_readers["text-single"];
+field_readers["jid-single"] =
+ field_readers["text-single"];
+
field_readers["text-multi"] =
function (field_tag)
local result = {};