diff options
author | George Hazan <ghazan@miranda.im> | 2016-12-19 17:32:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2016-12-19 17:44:58 +0300 |
commit | 10126b8ab2d030c8789525edcc87ff1c7c5b3e54 (patch) | |
tree | 0e4294f0df6289145d870f0e55763d086d2cd6ef /src/mir_app | |
parent | 877a445bdf3ac484e564bb1d62610eeb1329e991 (diff) |
unused parameter removed
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/chat_clist.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/chat_svc.cpp | 4 | ||||
-rw-r--r-- | src/mir_app/src/chat_tools.cpp | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/mir_app/src/chat_clist.cpp b/src/mir_app/src/chat_clist.cpp index 27268d8a8d..93346dd334 100644 --- a/src/mir_app/src/chat_clist.cpp +++ b/src/mir_app/src/chat_clist.cpp @@ -121,7 +121,7 @@ int RoomDoubleclicked(WPARAM hContact, LPARAM) PostMessage(si->hWnd, GC_CLOSEWINDOW, 0, 0);
return 1;
}
- chatApi.ShowRoom(si, WINDOW_VISIBLE, TRUE);
+ chatApi.ShowRoom(si);
}
return 1;
}
diff --git a/src/mir_app/src/chat_svc.cpp b/src/mir_app/src/chat_svc.cpp index edd6dab94e..6181e50b9c 100644 --- a/src/mir_app/src/chat_svc.cpp +++ b/src/mir_app/src/chat_svc.cpp @@ -299,8 +299,6 @@ static INT_PTR __stdcall stubRoomControl(void *param) if (SESSION_INFO *si = chatApi.SM_FindSession(p->wszId, p->szModule)) {
SetInitDone(si);
chatApi.SetActiveSession(si->ptszID, si->pszModule);
- if (si->hWnd)
- chatApi.ShowRoom(si, p->command, FALSE);
}
return 0;
@@ -311,7 +309,7 @@ static INT_PTR __stdcall stubRoomControl(void *param) if (SESSION_INFO *si = chatApi.SM_FindSession(p->wszId, p->szModule)) {
SetInitDone(si);
if (p->command != SESSION_INITDONE || db_get_b(NULL, CHAT_MODULE, "PopupOnJoin", 0) == 0)
- chatApi.ShowRoom(si, p->command, TRUE);
+ chatApi.ShowRoom(si);
return 0;
}
break;
diff --git a/src/mir_app/src/chat_tools.cpp b/src/mir_app/src/chat_tools.cpp index 566e1c07e7..92031d6a4a 100644 --- a/src/mir_app/src/chat_tools.cpp +++ b/src/mir_app/src/chat_tools.cpp @@ -133,7 +133,7 @@ BOOL DoTrayIcon(SESSION_INFO *si, GCEVENT *gce) static void __stdcall ShowRoomFromPopup(void *pi)
{
SESSION_INFO *si = (SESSION_INFO*)pi;
- chatApi.ShowRoom(si, WINDOW_VISIBLE, TRUE);
+ chatApi.ShowRoom(si);
}
static LRESULT CALLBACK PopupDlgProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|