diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-10 09:04:12 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-08-10 09:04:12 +0000 |
| commit | 7729fa4a4727c724df9e31cc524334f0629c558b (patch) | |
| tree | 5761e38927607ff8b8e6a9473447a1599cc7b26c /source/QXmppRemoteMethod.cpp | |
| parent | 7e200ac65474aba6069dca506db3bb57704d4fdd (diff) | |
| download | qxmpp-7729fa4a4727c724df9e31cc524334f0629c558b.tar.gz | |
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
Diffstat (limited to 'source/QXmppRemoteMethod.cpp')
| -rw-r--r-- | source/QXmppRemoteMethod.cpp | 3 |
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 ); } |
