summaryrefslogtreecommitdiff
path: root/plugins/Scriver/src/msgs.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-10 18:42:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-10 18:42:14 +0000
commit64d1d661e16cf7092373b6cd987e6c665c98e32a (patch)
tree4f5d9b6b51764697ab7109e4d50b0a297c06ed2f /plugins/Scriver/src/msgs.cpp
parent61f7c0cbedeed594973f2e555dba2c8febc9fae2 (diff)
redirect for the User Typing event
git-svn-id: http://svn.miranda-ng.org/main/trunk@9761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/src/msgs.cpp')
-rw-r--r--plugins/Scriver/src/msgs.cpp3
1 files changed, 3 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);