diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-22 17:20:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-22 17:20:55 +0300 |
commit | 4adb201a9ca951fa17e76c6221bc1df7de1b61cb (patch) | |
tree | fb3e3c082cd976e3f3269277654268d31e920bb8 /protocols/ICQ-WIM | |
parent | ee07ec63a300ee6ca3b4fa09e95db5434c94fb75 (diff) |
ICQ-WIN: we have to remove all email addrresses when we're upgading old ICQ account
fixes #1847 for newly converted accounts
Diffstat (limited to 'protocols/ICQ-WIM')
-rw-r--r-- | protocols/ICQ-WIM/src/proto.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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")); |