summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Planas <roger.planas@isode.com>2017-02-14 14:50:24 (GMT)
committerRoger Planas <roger.planas@isode.com>2017-02-14 15:26:32 (GMT)
commit2a0582368f31d6a1a6353ebdd1a15f429dbda882 (patch)
tree051cac6a4085e7d340082e3b4a60d36bd0233a12 /Swift/QtUI/QtChatTabs.cpp
parent72824c12ab6c15501e6e17c15465d9b27c6f7e1b (diff)
downloadswift-2a0582368f31d6a1a6353ebdd1a15f429dbda882.zip
swift-2a0582368f31d6a1a6353ebdd1a15f429dbda882.tar.bz2
Sluift: Add shortcut for get disco_info
So instead of doing something like this local features = client:get({ to = to, query = "<query xmlns='"..sluift.disco.features.DISCO_INFO.."'"..node.."/>" })['features'] we can now do something like this local features = client:get_disco_info({ to = to })['features'] That is, avoid raw calls. Test-information: Updated test calls to use new API and noticed no different behaviour to old code. Change-Id: I0d9a7c25c0f56499487f8aa0e67e30e9fa1b56ac
Diffstat (limited to 'Swift/QtUI/QtChatTabs.cpp')
0 files changed, 0 insertions, 0 deletions