aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-10-10 02:21:25 +0100
committerMatthew Wild <mwild1@gmail.com>2009-10-10 02:21:25 +0100
commitaba0949354eefcb6b1279aed5f57a9984b8b9b66 (patch)
treeb0a6fcf2d914fa44109457a13f4ce9e844751f7d
parented822f1ef026fa2c9ba4da9c505655f3ab57a48c (diff)
downloadprosody-aba0949354eefcb6b1279aed5f57a9984b8b9b66.tar.gz
prosody-aba0949354eefcb6b1279aed5f57a9984b8b9b66.zip
util.dataforms: Support for jid-single field type especially for Florob :)
-rw-r--r--util/dataforms.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua
index ed62f9b1..1619ddc5 100644
--- 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 = {};