diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-10 18:42:14 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-10 18:42:14 +0000 |
commit | 64d1d661e16cf7092373b6cd987e6c665c98e32a (patch) | |
tree | 4f5d9b6b51764697ab7109e4d50b0a297c06ed2f | |
parent | 61f7c0cbedeed594973f2e555dba2c8febc9fae2 (diff) |
redirect for the User Typing event
git-svn-id: http://svn.miranda-ng.org/main/trunk@9761 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/Scriver/src/msgs.cpp | 3 | ||||
-rw-r--r-- | src/core/stdmsg/src/msgs.cpp | 3 |
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);
|