diff options
author | Roger Planas <roger.planas@isode.com> | 2015-02-11 10:24:21 (GMT) |
---|---|---|
committer | Roger Planas <roger.planas@isode.com> | 2015-02-11 16:34:01 (GMT) |
commit | 630cc944978d5dff1efad7cac12d3327d210e4e7 (patch) | |
tree | b9e83b46ad6652154660b88d6760d00161dad451 /Sluift/core.lua | |
parent | a9393dd2289e8111f31e312dbf2a5747a8a3d358 (diff) | |
download | swift-630cc944978d5dff1efad7cac12d3327d210e4e7.zip swift-630cc944978d5dff1efad7cac12d3327d210e4e7.tar.bz2 |
Sluift: Add set_vcard shortcut
Change-Id: If1f0b08ac600e6c84d367132cc512dc5a3add442
Diffstat (limited to 'Sluift/core.lua')
-rw-r--r-- | Sluift/core.lua | 4 |
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.", |