From a2e38963a647f9f58ff276d2ad9f89f7202c47eb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Jul 2017 19:44:03 +0300 Subject: fixes #855 (TabSRMM - Move chat tab to another container switches chat into single conversation) --- plugins/TabSRMM/src/chat_main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/chat_main.cpp') diff --git a/plugins/TabSRMM/src/chat_main.cpp b/plugins/TabSRMM/src/chat_main.cpp index de304dfc85..02c906685f 100644 --- a/plugins/TabSRMM/src/chat_main.cpp +++ b/plugins/TabSRMM/src/chat_main.cpp @@ -242,6 +242,11 @@ static int OnHandleGCMenu(WPARAM, LPARAM lParam) return 0; } +static void stubShowRoom(SESSION_INFO *si) +{ + ShowRoom(nullptr, si); +} + // load the module int Chat_Load() { @@ -259,7 +264,7 @@ int Chat_Load() pci->OnReplaceSession = OnReplaceSession; pci->OnChangeNick = OnChangeNick; - pci->ShowRoom = ShowRoom; + pci->ShowRoom = stubShowRoom; pci->OnLoadSettings = OnLoadSettings; // this operation is unsafe, that's why we restore the old pci state on exit -- cgit v1.2.3