summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Scriver/src/msgs.cpp3
-rw-r--r--src/core/stdmsg/src/msgs.cpp3
2 files changed, 6 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgs.cpp b/plugins/Scriver/src/msgs.cpp
index b2dab1d2c5..5e4a5d7cfd 100644
--- a/plugins/Scriver/src/msgs.cpp
+++ b/plugins/Scriver/src/msgs.cpp
@@ -200,6 +200,9 @@ static int TypingMessage(WPARAM hContact, LPARAM lParam)
if (!(g_dat.flags2 & SMF2_SHOWTYPING))
return 0;
+ if (db_mc_isSub(hContact))
+ hContact = db_mc_getMeta(hContact);
+
SkinPlaySound((lParam) ? "TNStart" : "TNStop");
HWND hwnd = WindowList_Find(g_dat.hMessageWindowList, hContact);
diff --git a/src/core/stdmsg/src/msgs.cpp b/src/core/stdmsg/src/msgs.cpp
index ebbf106d86..50ac6ae753 100644
--- a/src/core/stdmsg/src/msgs.cpp
+++ b/src/core/stdmsg/src/msgs.cpp
@@ -160,6 +160,9 @@ static int TypingMessage(WPARAM hContact, LPARAM lParam)
if (!(g_dat.flags & SMF_SHOWTYPING))
return 0;
+ if (db_mc_isSub(hContact))
+ hContact = db_mc_getMeta(hContact);
+
SkinPlaySound((lParam) ? "TNStart" : "TNStop");
HWND hwnd = WindowList_Find(g_dat.hMessageWindowList, hContact);