summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift/core.lua')
-rw-r--r--Sluift/core.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sluift/core.lua b/Sluift/core.lua
index 734adc7..aef2506 100644
--- a/Sluift/core.lua
+++ b/Sluift/core.lua
@@ -755,13 +755,13 @@ register_help(Client.process_events)
-- Example usages:
-- client:get_software_version{to = 'alice@wonderland.lit'}
-- client:set_command{to = 'alice@wonderland.lit', command = { type = 'execute', node = 'uptime' }}
--
local get_set_shortcuts = {
get = {'software_version', 'disco_items', 'xml', 'dom', 'vcard', 'mam'},
- set = {'command', 'mam'}
+ set = {'command', 'vcard', 'mam'}
}
for query_action, query_types in pairs(get_set_shortcuts) do
for _, query_type in ipairs(query_types) do
_H = {
"Sends a `" .. query_action .. "` query of type `" .. query_type .. "`.\n" ..
"Apart from the options below, all top level elements of `" .. query_type .. "` can be passed.",
@@ -959,13 +959,13 @@ register_help(Component.process_events)
-- Example usages:
-- component:get_software_version{to = 'alice@wonderland.lit'}
-- component:set_command{to = 'alice@wonderland.lit', command = { type = 'execute', node = 'uptime' }}
--
local get_set_shortcuts = {
get = {'software_version', 'disco_items', 'xml', 'dom', 'vcard'},
- set = {'command'}
+ set = {'command', 'vcard'}
}
for query_action, query_types in pairs(get_set_shortcuts) do
for _, query_type in ipairs(query_types) do
_H = {
"Sends a `" .. query_action .. "` query of type `" .. query_type .. "`.\n" ..
"Apart from the options below, all top level elements of `" .. query_type .. "` can be passed.",