~ubuntu-branches/ubuntu/trusty/kopete/trusty

« back to all changes in this revision

Viewing changes to protocols/jabber/tasks/privacymanager.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg
  • Date: 2013-11-23 17:46:40 UTC
  • mfrom: (1.1.7)
  • Revision ID: package-import@ubuntu.com-20131123174640-gz1zjv1xqh81bi2h
Tags: 4:4.11.80-0ubuntu1
* New upstream beta release
* Bump build dependency to libotr5-dev
* Update symbols
* Update install files
* Drop new_linphone.diff, not required anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
        //kDebug (JABBER_DEBUG_GLOBAL) << qPrintable (QString("Got privacy list %1 reply.").arg(name_));
205
205
        if ( x.attribute ( "type" ) == "result" ) {
206
206
                QDomElement q = queryTag ( x );
207
 
                bool found;
208
 
                QDomElement listTag = findSubTag ( q,"list",&found );
209
 
                if ( found ) {
 
207
                QDomElement listTag = q.firstChildElement ( "list" );
 
208
                if ( !listTag.isNull() ) {
210
209
                        list_ = PrivacyList ( listTag );
211
210
                }
212
211
                else {