summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-22 17:56:49 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-22 17:56:49 +0300
commit496cd8776e8fcf49284717fa717e8bbe620bcc3f (patch)
tree360369bda0f21b7767ff87d406fbd9371b0adf68 /src/mir_app
parentaf546e2f55ccb9a270ce4967d1942aebfcbbea19 (diff)
fixes #4000 completely
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/srmm_util.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_app/src/srmm_util.cpp b/src/mir_app/src/srmm_util.cpp
index 978ebd8aa8..f20067fa77 100644
--- a/src/mir_app/src/srmm_util.cpp
+++ b/src/mir_app/src/srmm_util.cpp
@@ -31,6 +31,9 @@ const char *g_pszHotkeySection;
MIR_APP_DLL(void) Srmm_AddEvent(MCONTACT hContact, MEVENT hDbEvent)
{
+ if (Clist_FindEvent(hContact, hDbEvent))
+ return;
+
wchar_t toolTip[256];
mir_snwprintf(toolTip, TranslateT("Message from %s"), Clist_GetContactDisplayName(hContact));