diff options
author | George Hazan <george.hazan@gmail.com> | 2024-09-20 15:55:30 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-09-20 15:55:30 +0300 |
commit | 81c4c58099694dec4a7234b6c6028d478f08262f (patch) | |
tree | 877739ace95c6e05a7671e86ab34817c06006a7a /src | |
parent | ed3e48ddc7878f1ba5326088810bf8a45cdd06a6 (diff) |
fixes #4686 (tabSRMM: group chat windows to use the same activation options like the private chats do)
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/chat_clist.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mir_app/src/chat_clist.cpp b/src/mir_app/src/chat_clist.cpp index e01f1291ff..7c84b57d28 100644 --- a/src/mir_app/src/chat_clist.cpp +++ b/src/mir_app/src/chat_clist.cpp @@ -127,11 +127,7 @@ int RoomDoubleclicked(WPARAM hContact, LPARAM) if (!Contact::IsGroupChat(hContact, szProto))
return 0;
- ptrW roomid(Contact::GetInfo(CNF_UNIQUEID, hContact, szProto));
- if (roomid == nullptr)
- return 0;
-
- SESSION_INFO *si = Chat_Find(roomid, szProto);
+ SESSION_INFO *si = Chat_Find(hContact, szProto);
if (si) {
if (si->pDlg != nullptr && !Clist_GetEvent(hContact, 0) && IsWindowVisible(si->pDlg->GetHwnd()) && !IsIconic(si->pDlg->GetHwnd())) {
si->pDlg->CloseTab();
|