summaryrefslogtreecommitdiff
path: root/src/mir_app/src/chat_svc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/chat_svc.cpp')
-rw-r--r--src/mir_app/src/chat_svc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/chat_svc.cpp b/src/mir_app/src/chat_svc.cpp
index ec7b44be06..3387d9d7b9 100644
--- a/src/mir_app/src/chat_svc.cpp
+++ b/src/mir_app/src/chat_svc.cpp
@@ -186,7 +186,7 @@ MIR_APP_DLL(int) Chat_Register(const GCREGISTER *gcr)
mi->bPersistent = (gcr->dwFlags & GC_PERSISTENT) != 0;
mi->iMaxText = gcr->iMaxText;
- g_chatApi.SetAllOffline(TRUE, gcr->pszModule);
+ SetAllOffline(gcr->pszModule);
return 0;
}
@@ -985,7 +985,7 @@ static int ModulesLoaded(WPARAM, LPARAM)
hMute2MenuItem = Menu_AddContactMenuItem(&mi);
Menu_ConfigureItem(hMute2MenuItem, MCI_OPT_EXECPARAM, INT_PTR(CHATMODE_UNMUTE));
- g_chatApi.SetAllOffline(TRUE, nullptr);
+ SetAllOffline(nullptr);
return 0;
}