summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Planas <roger.planas@isode.com>2017-06-28 15:09:37 (GMT)
committerTobias Markmann <tm@ayena.de>2017-07-04 08:56:54 (GMT)
commit93a0f41d4af17db3e3eedb61e786fec23dbd8db9 (patch)
tree419daecd39e31d98cfb6c1b9dc47c4a584580393 /Sluift/LuaElementConvertors.cpp
parent4f61e116c83be5e38a8406ac3285a07b84712ec1 (diff)
downloadswift-93a0f41d4af17db3e3eedb61e786fec23dbd8db9.zip
swift-93a0f41d4af17db3e3eedb61e786fec23dbd8db9.tar.bz2
Sluift: Add extensions support to disco#info queries
Only identities and features were reported. Now extensions, if any, will also be reported Test-information: Sent disco#info to a muc room, and got the following extensions back (along with identities and features, so no regression) Change-Id: Ib4ab17114df4da5de51945df9e53c12bd42716d1
Diffstat (limited to 'Sluift/LuaElementConvertors.cpp')
-rw-r--r--Sluift/LuaElementConvertors.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sluift/LuaElementConvertors.cpp b/Sluift/LuaElementConvertors.cpp
index aac4d93..db91761 100644
--- a/Sluift/LuaElementConvertors.cpp
+++ b/Sluift/LuaElementConvertors.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2013-2016 Isode Limited.
+ * Copyright (c) 2013-2017 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -53,7 +53,7 @@ LuaElementConvertors::LuaElementConvertors() {
convertors.push_back(std::make_shared<VCardUpdateConvertor>());
convertors.push_back(std::make_shared<FormConvertor>());
convertors.push_back(std::make_shared<SoftwareVersionConvertor>());
- convertors.push_back(std::make_shared<DiscoInfoConvertor>());
+ convertors.push_back(std::make_shared<DiscoInfoConvertor>(this));
convertors.push_back(std::make_shared<DiscoItemsConvertor>());
convertors.push_back(std::make_shared<IQConvertor>(this));
convertors.push_back(std::make_shared<PresenceConvertor>(this));