aboutsummaryrefslogtreecommitdiff
path: root/examples/example_3_transferHandling
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example_3_transferHandling')
-rw-r--r--examples/example_3_transferHandling/xmppClient.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example_3_transferHandling/xmppClient.cpp b/examples/example_3_transferHandling/xmppClient.cpp
index adfbcfd7..9c5582e8 100644
--- a/examples/example_3_transferHandling/xmppClient.cpp
+++ b/examples/example_3_transferHandling/xmppClient.cpp
@@ -106,8 +106,8 @@ void xmppClient::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;