Software /
code /
prosody-modules
Comparison
mod_adhoc_dataforms_demo/mod_adhoc_dataforms_demo.lua @ 4045:4fc6cf528a9a
mod_adhoc_dataforms_demo: Ensure mod_adhoc is loaded
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Jun 2020 18:34:29 +0200 |
parent | 3914:f5caacd475c4 |
child | 4049:78f1de5301fc |
comparison
equal
deleted
inserted
replaced
4044:f4999d75d305 | 4045:4fc6cf528a9a |
---|---|
170 table.insert(next_step.actions, 1, "prev"); | 170 table.insert(next_step.actions, 1, "prev"); |
171 end | 171 end |
172 return next_step, state; | 172 return next_step, state; |
173 end | 173 end |
174 | 174 |
175 module:depends("adhoc"); | |
175 module:provides("adhoc", | 176 module:provides("adhoc", |
176 adhoc_new("Multi-step command demo", | 177 adhoc_new("Multi-step command demo", |
177 "xmpp:zash.se/mod_adhoc_dataforms_demo#multi", | 178 "xmpp:zash.se/mod_adhoc_dataforms_demo#multi", |
178 multi_step_command, "any")); | 179 multi_step_command, "any")); |
179 | 180 |