diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-04-20 15:25:45 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-04-20 15:25:45 +0000 |
| commit | 0e9532f935fce64f47d30ec76650bcae2cd2268f (patch) | |
| tree | 39e8d4dc658e57ca40f51fe7ab5f5e451256add3 /examples/example_6_rpcClient | |
| parent | 7de79b51bb991b6d237522d3d30c73127dedbfa6 (diff) | |
fix reference to QXmppUtils
Diffstat (limited to 'examples/example_6_rpcClient')
| -rw-r--r-- | examples/example_6_rpcClient/rpcClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example_6_rpcClient/rpcClient.cpp b/examples/example_6_rpcClient/rpcClient.cpp index f1c907bf..dd331fba 100644 --- a/examples/example_6_rpcClient/rpcClient.cpp +++ b/examples/example_6_rpcClient/rpcClient.cpp @@ -66,8 +66,8 @@ void rpcClient::slotPresenceReceived(const QXmppPresence &presence) // if we are the recipient, or if the presence is not from the recipient, // do nothing - if (jidToBareJid(configuration().jid()) == recipient || - jidToBareJid(presence.from()) != recipient || + if (QXmppUtils::jidToBareJid(configuration().jid()) == recipient || + QXmppUtils::jidToBareJid(presence.from()) != recipient || presence.type() != QXmppPresence::Available) return; |
