From 7729fa4a4727c724df9e31cc524334f0629c558b Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Tue, 10 Aug 2010 09:04:12 +0000 Subject: RPC: splitting methodName should not be done at the QXmppRpcIq level, it is perfectly legitimate to not use the INTERFACE.METHOD convention in a Jabber-RPC IQ --- source/QXmppRemoteMethod.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source/QXmppRemoteMethod.cpp') 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 ); } -- cgit v1.2.3