From 4adb201a9ca951fa17e76c6221bc1df7de1b61cb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 22 Feb 2019 17:20:55 +0300 Subject: ICQ-WIN: we have to remove all email addrresses when we're upgading old ICQ account fixes #1847 for newly converted accounts --- protocols/ICQ-WIM/src/proto.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'protocols/ICQ-WIM/src') diff --git a/protocols/ICQ-WIM/src/proto.cpp b/protocols/ICQ-WIM/src/proto.cpp index 44e9a6a650..2b181dc2e1 100644 --- a/protocols/ICQ-WIM/src/proto.cpp +++ b/protocols/ICQ-WIM/src/proto.cpp @@ -101,6 +101,9 @@ void CIcqProto::OnModulesLoaded() wchar_t buf[100]; _itow(dwUin, buf, 10); m_szOwnId = buf; + + for (auto &it : AccContacts()) + delSetting(it, "e-mail"); } else { CMStringW wszEmail(getMStringW("Email")); -- cgit v1.2.3