From 630cc944978d5dff1efad7cac12d3327d210e4e7 Mon Sep 17 00:00:00 2001
From: Roger Planas <roger.planas@isode.com>
Date: Wed, 11 Feb 2015 10:24:21 +0000
Subject: Sluift: Add set_vcard shortcut

Change-Id: If1f0b08ac600e6c84d367132cc512dc5a3add442

diff --git a/Sluift/core.lua b/Sluift/core.lua
index 734adc7..aef2506 100644
--- a/Sluift/core.lua
+++ b/Sluift/core.lua
@@ -758,7 +758,7 @@ register_help(Client.process_events)
 --
 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
@@ -962,7 +962,7 @@ register_help(Component.process_events)
 --
 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
-- 
cgit v0.10.2-6-g49f6