From ef0ba268b340eaf1217a96d763342c25668588b4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Feb 2023 12:54:20 +0300 Subject: Protocols: preventing recursive contact deletion --- protocols/GmailNotifier/src/options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/GmailNotifier') diff --git a/protocols/GmailNotifier/src/options.cpp b/protocols/GmailNotifier/src/options.cpp index 01076473e4..35ba71cb30 100644 --- a/protocols/GmailNotifier/src/options.cpp +++ b/protocols/GmailNotifier/src/options.cpp @@ -197,7 +197,7 @@ public: Account &acc = g_accs[curIndex]; DeleteResults(acc.results.next); - db_delete_contact(acc.hContact); + db_delete_contact(acc.hContact, true); g_accs.remove(curIndex); m_combo.SetCurSel(curIndex = 0); -- cgit v1.2.3