aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/dataforms.d.tl
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-11-15 17:15:22 +0100
committerKim Alvefur <zash@zash.se>2021-11-15 17:15:22 +0100
commit9dc7ac98fa5a71e1e2019dd1b6fefde9a6842b5a (patch)
tree1d4dd83d48ff24b7aad46f93abc4a20adedb299c /teal-src/util/dataforms.d.tl
parentdff6720958a1cb46f4ce5c2721c67bc94cb80450 (diff)
downloadprosody-9dc7ac98fa5a71e1e2019dd1b6fefde9a6842b5a.tar.gz
prosody-9dc7ac98fa5a71e1e2019dd1b6fefde9a6842b5a.zip
util.dataforms: Add missing :data() to Teal definition
Diffstat (limited to 'teal-src/util/dataforms.d.tl')
-rw-r--r--teal-src/util/dataforms.d.tl1
1 files changed, 1 insertions, 0 deletions
diff --git a/teal-src/util/dataforms.d.tl b/teal-src/util/dataforms.d.tl
index eac55717..0eddf98e 100644
--- a/teal-src/util/dataforms.d.tl
+++ b/teal-src/util/dataforms.d.tl
@@ -45,6 +45,7 @@ local record lib
end
form : function ( dataform, { string : any }, form_type ) : stanza_t
+ data : function ( dataform, stanza_t ) : { string : any }
end
new : function ( dataform ) : dataform