[telepathy] [Bug 325065] [KPeople] Remove contact does not remove the contact

David Edmundson kde at davidedmundson.co.uk
Mon Sep 23 02:22:00 BST 2013


https://bugs.kde.org/show_bug.cgi?id=325065

David Edmundson <kde at davidedmundson.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kde at davidedmundson.co.uk

--- Comment #1 from David Edmundson <kde at davidedmundson.co.uk> ---
from the feeder 

void Account::onAllKnownContactsChanged(const Tp::Contacts &added, const
Tp::Contacts &removed)
{
    // For each added contact, let's check if we already have a Contact wrapper
for it
    Q_FOREACH (const Tp::ContactPtr &contact, added) {
        if (!m_contacts.contains(contact)) {
            // It's a brand new one
            onNewContact(contact);
        }
    }

    // If contacts are removed, we don't actually need to do anything!
    Q_UNUSED(removed);
}

I don't understand the logic behind the comment here.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list