diff options
author | George Hazan <george.hazan@gmail.com> | 2025-03-31 12:28:23 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2025-03-31 12:28:23 +0300 |
commit | 4747d2ed93f4f916c72d29a8dcd35425fcfea880 (patch) | |
tree | 3f470a499870eca74df4378bf013f9e2d3ca3ca5 /protocols/Teams/src/teams_options.cpp | |
parent | 68ed297ee889cd21dbba8914f79dbef1a1e822e6 (diff) |
icons for Teams
Diffstat (limited to 'protocols/Teams/src/teams_options.cpp')
-rw-r--r-- | protocols/Teams/src/teams_options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Teams/src/teams_options.cpp b/protocols/Teams/src/teams_options.cpp index e5334a0985..6191f15a41 100644 --- a/protocols/Teams/src/teams_options.cpp +++ b/protocols/Teams/src/teams_options.cpp @@ -45,7 +45,7 @@ public: bool OnInitDialog() override { - m_login.SetTextA(ptrA(m_proto->getStringA(SKYPE_SETTINGS_ID))); + m_login.SetTextA(ptrA(m_proto->getStringA(DBKEY_ID))); m_password.SetTextA(pass_ptrA(m_proto->getStringA("Password"))); m_place.Enable(!m_proto->m_bUseHostnameAsPlace); m_login.SendMsg(EM_LIMITTEXT, 128, 0); @@ -57,12 +57,12 @@ public: bool OnApply() override { ptrA szNewSkypename(m_login.GetTextA()), - szOldSkypename(m_proto->getStringA(SKYPE_SETTINGS_ID)); + szOldSkypename(m_proto->getStringA(DBKEY_ID)); pass_ptrA szNewPassword(m_password.GetTextA()), szOldPassword(m_proto->getStringA("Password")); if (mir_strcmpi(szNewSkypename, szOldSkypename) || mir_strcmp(szNewPassword, szOldPassword)) m_proto->delSetting("TokenExpiresIn"); - m_proto->setString(SKYPE_SETTINGS_ID, szNewSkypename); + m_proto->setString(DBKEY_ID, szNewSkypename); m_proto->setString("Password", szNewPassword); ptrW group(m_group.GetText()); if (mir_wstrlen(group) > 0 && !Clist_GroupExists(group)) |