aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppRemoteMethod.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-09 14:36:32 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-09 14:36:32 +0000
commit195afc0e0159c8ed89c4b374a9d9ba6aacfddc6b (patch)
tree5a909ada7e8d79a6252934d811c4dcd9d1b5ab11 /source/QXmppRemoteMethod.cpp
parent47f2f46a5e390ffe15070a415df7f194b498abd9 (diff)
downloadqxmpp-195afc0e0159c8ed89c4b374a9d9ba6aacfddc6b.tar.gz
rework internal XML RPC APIs
Diffstat (limited to 'source/QXmppRemoteMethod.cpp')
-rw-r--r--source/QXmppRemoteMethod.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/QXmppRemoteMethod.cpp b/source/QXmppRemoteMethod.cpp
index f78b459c..3d501438 100644
--- a/source/QXmppRemoteMethod.cpp
+++ b/source/QXmppRemoteMethod.cpp
@@ -14,7 +14,7 @@ QXmppRemoteMethod::QXmppRemoteMethod(const QString &jid, const QString &method,
m_payload.setFrom( client->getConfiguration().jid() );
m_payload.setInterface( method.section('.', 0, 0 ) );
m_payload.setMethod( method.section('.', 1) );
- m_payload.setPayload( args );
+ m_payload.setArguments( args );
}
QXmppRemoteMethodResult QXmppRemoteMethod::call( )
@@ -45,7 +45,7 @@ void QXmppRemoteMethod::gotResult( const QXmppRpcResponseIq &iq )
if ( iq.id() == m_payload.id() )
{
m_result.hasError = false;
- m_result.result = iq.payload();
+ m_result.result = iq.values();
emit callDone();
}
}