aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppRemoteMethod.cpp
diff options
context:
space:
mode:
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();
}
}