Commit graph

5 commits

Author SHA1 Message Date
Kim Alvefur
72cecbe03c util.adhoc: Propagate error with producing initial initial data
Bonus: Allow use of util.error tables
2021-01-31 21:10:03 +01:00
Kim Alvefur
80a38cc873 util.adhoc: Allow passing dataforms in initial command
This might not be quite legal per XEP-0050, but makes it possible to
call simpler commands without keeping state across another roundtrip.
2020-02-26 00:59:35 +01:00
Kim Alvefur
1438a38845 util: Various minor changes to please [luacheck] 2017-11-10 05:42:32 +01:00
Kim Alvefur
fdea58765a util.adhoc: Pass command data to initial_data callback in order to allow loading per-user settings 2017-02-22 22:56:28 +01:00
Florian Zeitz
9ed5894b79 util.adhoc: New util for generating common adhoc handler patterns 2013-04-23 14:49:31 +02:00