diff options
| author | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-03-04 20:34:24 +0000 |
|---|---|---|
| committer | Manjeet Dahiya <manjeetdahiya@gmail.com> | 2010-03-04 20:34:24 +0000 |
| commit | 20dccb6eb88e81363030120fbc4ede901ac55582 (patch) | |
| tree | e65e7b39cba9505323e76ea6ece5f8a83d6c9209 /source | |
| parent | cac17088520243b95f587130b51e48ea2744ae8a (diff) | |
| download | qxmpp-20dccb6eb88e81363030120fbc4ede901ac55582.tar.gz | |
remove deprecated functions calls of QXmppRosterIq
Diffstat (limited to 'source')
| -rw-r--r-- | source/QXmppStream.cpp | 8 | ||||
| -rw-r--r-- | source/QXmppStream.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/source/QXmppStream.cpp b/source/QXmppStream.cpp index c10fa0aa..b2142c2f 100644 --- a/source/QXmppStream.cpp +++ b/source/QXmppStream.cpp @@ -1095,10 +1095,10 @@ void QXmppStream::processRosterIq(const QXmppRosterIq& rosterIq) // then after recieving following iq user requests contact for subscription // check thet "from" is newly added in the roster...and remove this ask thing...and do this for all items - if(rosterIq.getItems().at(0).getSubscriptionType() == - QXmppRosterIq::Item::From && rosterIq.getItems().at(0). - getSubscriptionStatus().isEmpty()) - sendSubscriptionRequest(rosterIq.getItems().at(0).getBareJid()); + if(rosterIq.items().at(0).subscriptionType() == + QXmppRosterIq::Item::From && rosterIq.items().at(0). + subscriptionStatus().isEmpty()) + sendSubscriptionRequest(rosterIq.items().at(0).bareJid()); break; default: break; diff --git a/source/QXmppStream.h b/source/QXmppStream.h index edb497ce..4fea2a0b 100644 --- a/source/QXmppStream.h +++ b/source/QXmppStream.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2008-2009 Manjeet Dahiya + * Copyright (C) 2008-2010 Manjeet Dahiya * * Author: * Manjeet Dahiya |
