diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-09-01 06:09:30 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-09-01 06:09:30 +0000 |
| commit | 22c0a1346bff8bb94f86b1efb0107dac5b32bc3d (patch) | |
| tree | 50a3f1bce1b7717e9326c5286463a51543f79a8f /examples/example_3_transferHandling | |
| parent | 08dad04d9ca7db2a3ba63af25604a4d2e99e97e0 (diff) | |
| download | qxmpp-22c0a1346bff8bb94f86b1efb0107dac5b32bc3d.tar.gz | |
don't use QXmppConfigure.jidBare()
Diffstat (limited to 'examples/example_3_transferHandling')
| -rw-r--r-- | examples/example_3_transferHandling/xmppClient.cpp | 2 |
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; |
