summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Maudsley <richard.maudsley@isode.com>2014-05-13 14:48:10 (GMT)
committerSwift Review <review@swift.im>2014-05-27 19:53:49 (GMT)
commit058719296f496b14b906fdee3d74d72a78d9f6a2 (patch)
treee15b5e0032b48c924f7f69e20e0b721172a5691d /Sluift/core.lua
parente5975a6d4809bf05f8c9df724c926bd26fc4a9df (diff)
downloadswift-contrib-058719296f496b14b906fdee3d74d72a78d9f6a2.zip
swift-contrib-058719296f496b14b906fdee3d74d72a78d9f6a2.tar.bz2
Added Sluift MAM examples. send_mam_query becomes set_mam_query.
Change-Id: I5d81e2476c83a16a8e478656d11d91137b009f3a
Diffstat (limited to 'Sluift/core.lua')
-rw-r--r--Sluift/core.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/Sluift/core.lua b/Sluift/core.lua
index dfac21a..7487de1 100644
--- a/Sluift/core.lua
+++ b/Sluift/core.lua
@@ -1,4 +1,4 @@
--[[
- Copyright (c) 2013 Remko Tronçon
+ Copyright (c) 2013-2014 Remko Tronçon
Licensed under the GNU General Public License.
See the COPYING file for more information.
@@ -748,6 +748,6 @@ register_help(Client.process_events)
--
local get_set_shortcuts = {
- get = {'software_version', 'disco_items', 'xml', 'dom', 'vcard'},
- set = {'command'}
+ get = {'software_version', 'disco_items', 'xml', 'dom', 'vcard', 'mam'},
+ set = {'command', 'mam'}
}
for query_action, query_types in pairs(get_set_shortcuts) do