aboutsummaryrefslogtreecommitdiff
path: root/source/QXmppStream.cpp
diff options
context:
space:
mode:
authorManjeet Dahiya <manjeetdahiya@gmail.com>2010-03-04 20:34:24 +0000
committerManjeet Dahiya <manjeetdahiya@gmail.com>2010-03-04 20:34:24 +0000
commit20dccb6eb88e81363030120fbc4ede901ac55582 (patch)
treee65e7b39cba9505323e76ea6ece5f8a83d6c9209 /source/QXmppStream.cpp
parentcac17088520243b95f587130b51e48ea2744ae8a (diff)
downloadqxmpp-20dccb6eb88e81363030120fbc4ede901ac55582.tar.gz
remove deprecated functions calls of QXmppRosterIq
Diffstat (limited to 'source/QXmppStream.cpp')
-rw-r--r--source/QXmppStream.cpp8
1 files changed, 4 insertions, 4 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;