changeset 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
parents 21b30b30cc16
children 80dffbbd056b
files mod_adhoc_dataforms_demo/mod_adhoc_dataforms_demo.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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"));