From 0e9532f935fce64f47d30ec76650bcae2cd2268f Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 20 Apr 2012 15:25:45 +0000 Subject: fix reference to QXmppUtils --- examples/example_6_rpcClient/rpcClient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/example_6_rpcClient/rpcClient.cpp') 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; -- cgit v1.2.3