void TAccountXmpp::Account_MarkForDeletion() { TreeItem_MarkForDeletion(); m_arraypaContacts.ForEach_SetFlagTreeItemDoNotSerializeToDisk(); m_arraypaGroups.ForEach_SetFlagTreeItemDoNotSerializeToDisk(); }
void TContact::Contact_MarkForDeletion() { TreeItem_MarkForDeletion(); if (XmppRoster_PszGetSubscription() != NULL) m_pAccount->Contact_RosterUnsubscribe(this); // Remove the contact from the roster }