Software /
code /
prosody-modules
Diff
mod_adhoc_dataforms_demo/mod_adhoc_dataforms_demo.lua @ 3914:f5caacd475c4
mod_adhoc_dataforms_demo: Add the now required permission mode (#1482)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 26 Feb 2020 22:30:50 +0100 |
parent | 3558:22587eb2d87c |
child | 4045:4fc6cf528a9a |
line wrap: on
line diff
--- a/mod_adhoc_dataforms_demo/mod_adhoc_dataforms_demo.lua Wed Feb 26 21:15:20 2020 +0100 +++ b/mod_adhoc_dataforms_demo/mod_adhoc_dataforms_demo.lua Wed Feb 26 22:30:50 2020 +0100 @@ -120,7 +120,7 @@ module:provides("adhoc", adhoc_new("Dataforms Demo", "xmpp:zash.se/mod_adhoc_dataforms_demo#form", - adhoc_util.new_simple_form(form, handler))); + adhoc_util.new_simple_form(form, handler), "any")); local function multi_step_command(_, data, state) @@ -175,5 +175,5 @@ module:provides("adhoc", adhoc_new("Multi-step command demo", "xmpp:zash.se/mod_adhoc_dataforms_demo#multi", - multi_step_command)); + multi_step_command, "any"));