diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-27 19:18:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-27 19:18:21 +0300 |
commit | e0618a6d95dc4ae3e11e7cd83f567cc0c5ffcfb5 (patch) | |
tree | 3ba661c01fadbd3b846a227593b81dafecc19b05 | |
parent | 7eaccc7d1af879e2a8c58364ca0c11816225dfe0 (diff) |
fixes #1216 (temporary contacts return back until restart)
-rw-r--r-- | plugins/Dbx_mdbx/src/dbcontacts.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Dbx_mdbx/src/dbcontacts.cpp b/plugins/Dbx_mdbx/src/dbcontacts.cpp index ce08f4729c..24faa109fc 100644 --- a/plugins/Dbx_mdbx/src/dbcontacts.cpp +++ b/plugins/Dbx_mdbx/src/dbcontacts.cpp @@ -75,6 +75,9 @@ STDMETHODIMP_(LONG) CDbxMDBX::DeleteContact(MCONTACT contactID) return 1;
}
+ // free cache item
+ m_cache->FreeCachedContact(contactID);
+
InterlockedDecrement(&m_contactCount);
return 0;
}
|