summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-15 23:29:39 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-15 23:29:39 +0300
commit63dd9362a3f8f071669de8f03c06d74a7a617eb8 (patch)
tree78727f52ba4ee6f2720fb89d65fd73a84cc3e97f /src/mir_app
parent47a8f51fb9830ac470c40dfce3ce27c09fd82d7b (diff)
new methods of CCtrlPages
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/chat_svc.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mir_app/src/chat_svc.cpp b/src/mir_app/src/chat_svc.cpp
index 039caf16b2..a7fbb86c97 100644
--- a/src/mir_app/src/chat_svc.cpp
+++ b/src/mir_app/src/chat_svc.cpp
@@ -330,8 +330,6 @@ static INT_PTR __stdcall stubRoomControl(void *param)
case WINDOW_CLEARLOG:
if (SESSION_INFO *si = chatApi.SM_FindSession(p->wszId, p->szModule)) {
chatApi.LM_RemoveAll(&si->pLog, &si->pLogEnd);
- if (chatApi.OnClearLog)
- chatApi.OnClearLog(si);
si->iEventCount = 0;
si->LastTime = 0;
}
@@ -556,9 +554,6 @@ EXTERN_C MIR_APP_DLL(int) Chat_Event(GCEVENT *gce)
if (si && (si->bInitDone || gcd->iType == GC_EVENT_TOPIC || (gcd->iType == GC_EVENT_JOIN && gce->bIsMe))) {
int isOk = SM_AddEvent(pWnd, pMod, gce, bIsHighlighted);
- if (chatApi.OnAddLog)
- chatApi.OnAddLog(si);
-
if (si->hWnd) {
if (isOk)
SendMessage(si->hWnd, GC_ADDLOG, 0, 0);
@@ -620,8 +615,6 @@ MIR_APP_DLL(int) Chat_ChangeSessionName(const char *szModule, const wchar_t *wsz
replaceStrW(si->ptszName, wszNewName);
if (si->hWnd)
SendMessage(si->hWnd, GC_UPDATETITLE, 0, 0);
- if (chatApi.OnRenameSession)
- chatApi.OnRenameSession(si);
}
return 0;
}