diff options
Diffstat (limited to 'examples/example_4_callHandling')
| -rw-r--r-- | examples/example_4_callHandling/xmppClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
