aboutsummaryrefslogtreecommitdiff
path: root/examples/example_3_transferHandling/xmppClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example_3_transferHandling/xmppClient.cpp')
-rw-r--r--examples/example_3_transferHandling/xmppClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example_3_transferHandling/xmppClient.cpp b/examples/example_3_transferHandling/xmppClient.cpp
index 4d092491..2a97d31c 100644
--- a/examples/example_3_transferHandling/xmppClient.cpp
+++ b/examples/example_3_transferHandling/xmppClient.cpp
@@ -88,7 +88,7 @@ void xmppClient::slotPresenceReceived(const QXmppPresence &presence)
// if we are the recipient, or if the presence is not from the recipient,
// do nothing
- if (configuration().jidBare() == recipient ||
+ if (jidToBareJid(configuration().jid()) == recipient ||
jidToBareJid(presence.from()) != recipient ||
presence.type() != QXmppPresence::Available)
return;