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