aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppRemoteMethod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/QXmppRemoteMethod.cpp')
-rw-r--r--source/QXmppRemoteMethod.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/QXmppRemoteMethod.cpp b/source/QXmppRemoteMethod.cpp
index 579ae285..479bcfb1 100644
--- a/source/QXmppRemoteMethod.cpp
+++ b/source/QXmppRemoteMethod.cpp
@@ -35,8 +35,7 @@ QXmppRemoteMethod::QXmppRemoteMethod(const QString &jid, const QString &method,
{
m_payload.setTo( jid );
m_payload.setFrom( client->configuration().jid() );
- m_payload.setInterface( method.section('.', 0, 0 ) );
- m_payload.setMethod( method.section('.', 1) );
+ m_payload.setMethod( method );
m_payload.setArguments( args );
}