From 22c0a1346bff8bb94f86b1efb0107dac5b32bc3d Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Wed, 1 Sep 2010 06:09:30 +0000 Subject: don't use QXmppConfigure.jidBare() --- examples/example_4_callHandling/xmppClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/example_4_callHandling/xmppClient.cpp') diff --git a/examples/example_4_callHandling/xmppClient.cpp b/examples/example_4_callHandling/xmppClient.cpp index d4f040f3..92660c50 100644 --- a/examples/example_4_callHandling/xmppClient.cpp +++ b/examples/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 (configuration().jidBare() == recipient || + if (jidToBareJid(configuration().jid()) == recipient || jidToBareJid(presence.from()) != recipient || presence.type() != QXmppPresence::Available) return; -- cgit v1.2.3