summaryrefslogtreecommitdiff
path: root/protocols/GmailNotifier/src
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/GmailNotifier/src')
-rw-r--r--protocols/GmailNotifier/src/check.cpp2
-rw-r--r--protocols/GmailNotifier/src/notify.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/GmailNotifier/src/check.cpp b/protocols/GmailNotifier/src/check.cpp
index d9386b191b..8013b560e7 100644
--- a/protocols/GmailNotifier/src/check.cpp
+++ b/protocols/GmailNotifier/src/check.cpp
@@ -135,7 +135,7 @@ void __cdecl Check_ThreadFunc(void *lpParam)
}
else {
for (auto &it : g_accs) {
- if (GetContactProto(it->hContact)) {
+ if (Proto_GetBaseAccountName(it->hContact)) {
CheckMailInbox(it);
NotifyUser(it);
}
diff --git a/protocols/GmailNotifier/src/notify.cpp b/protocols/GmailNotifier/src/notify.cpp
index 232614a7f8..2413c58023 100644
--- a/protocols/GmailNotifier/src/notify.cpp
+++ b/protocols/GmailNotifier/src/notify.cpp
@@ -69,7 +69,7 @@ static void __cdecl Login_ThreadFunc(Account *curAcc)
int OpenBrowser(WPARAM hContact, LPARAM)
{
- char *proto = GetContactProto(hContact);
+ char *proto = Proto_GetBaseAccountName(hContact);
if (proto && !mir_strcmp(proto, MODULENAME)) {
Account *curAcc = GetAccountByContact(hContact);
PUDeletePopup(curAcc->popUpHwnd);