summaryrefslogtreecommitdiff
path: root/plugins/SecureIM/src/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SecureIM/src/options.cpp')
-rw-r--r--plugins/SecureIM/src/options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SecureIM/src/options.cpp b/plugins/SecureIM/src/options.cpp
index e1ba269df9..1104b30e18 100644
--- a/plugins/SecureIM/src/options.cpp
+++ b/plugins/SecureIM/src/options.cpp
@@ -1064,7 +1064,7 @@ void RefreshPGPDlg(HWND hDlg, BOOL iInit)
for (auto &hContact : Contacts()) {
pUinKey ptr = getUinKey(hContact);
if (ptr && ptr->mode == MODE_PGP && isSecureProtocol(hContact) && !isChatRoom(hContact)) {
- LPSTR szKeyID = db_get_sa(hContact, MODULENAME, "pgp_abbr");
+ LPSTR szKeyID = g_plugin.getStringA(hContact, "pgp_abbr");
lvi.iItem++;
lvi.iImage = (szKeyID != nullptr);
@@ -1127,7 +1127,7 @@ void RefreshGPGDlg(HWND hDlg, BOOL iInit)
if (iInit)
ptr->tgpgMode = ptr->gpgMode;
- LPSTR szKeyID = db_get_sa(hContact, MODULENAME, "gpg");
+ LPSTR szKeyID = g_plugin.getStringA(hContact, "gpg");
lvi.iItem++;
lvi.iImage = (szKeyID != nullptr);