diff options
author | George Hazan <ghazan@miranda.im> | 2020-04-17 11:38:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-04-17 11:38:16 +0300 |
commit | a427d9066d300620f6dd63e93824adf42188dbcc (patch) | |
tree | 772fdd375756f5677e53bfad983bcbf705181c22 /plugins/TabSRMM/src/container.cpp | |
parent | 3b576fbd2dc5359c9c2e3b79633f77ec97d307c9 (diff) |
fixes #2344 (TabSRMM: не мигает иконка в трее и нет значка в клисте при новом сообщении TabSRMM bug regression)
Diffstat (limited to 'plugins/TabSRMM/src/container.cpp')
-rw-r--r-- | plugins/TabSRMM/src/container.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/container.cpp b/plugins/TabSRMM/src/container.cpp index 3185e9f700..2e3e4f8e82 100644 --- a/plugins/TabSRMM/src/container.cpp +++ b/plugins/TabSRMM/src/container.cpp @@ -2269,9 +2269,10 @@ void TSAPI AutoCreateWindow(MCONTACT hContact, MEVENT hDbEvent) if (pContainer == nullptr && bAutoContainer)
pContainer = CreateContainer(szName, CNT_CREATEFLAG_MINIMIZED, hContact);
- if (pContainer != nullptr)
+ if (pContainer != nullptr) {
CreateNewTabForContact(pContainer, hContact, false, bPopup, true, hDbEvent);
- return;
+ return;
+ }
}
// no window created, simply add an unread event to contact list
|