summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-10 18:38:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-10 18:38:33 +0000
commit61f7c0cbedeed594973f2e555dba2c8febc9fae2 (patch)
treeab9517e224dcd8145d52761375b2905fa932b665 /src
parentef05f20f8191c1c3d93df3356969ce016119487e (diff)
typing notify handler in MetaContacts considered useless
git-svn-id: http://svn.miranda-ng.org/main/trunk@9760 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/metacontacts/meta_services.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/modules/metacontacts/meta_services.cpp b/src/modules/metacontacts/meta_services.cpp
index 0f0997ada4..5c28a2bf66 100644
--- a/src/modules/metacontacts/meta_services.cpp
+++ b/src/modules/metacontacts/meta_services.cpp
@@ -515,26 +515,6 @@ static INT_PTR Meta_UserIsTyping(WPARAM hMeta, LPARAM lParam)
return 0;
}
-/** Call when we want to receive a user is typing message
-*
-* @param wParam HANDLE to the contact that is typing or not
-* @param lParam either PROTOTYPE_SELFTYPING_ON or PROTOTYPE_SELFTYPING_OFF
-*/
-
-static int Meta_ContactIsTyping(WPARAM hContact, LPARAM lParam)
-{
- if (!db_mc_isEnabled())
- return 0;
-
- DBCachedContact *cc = currDb->m_cache->GetCachedContact(hContact);
- if (cc != NULL && cc->IsSub()) {
- CallService(MS_PROTO_CONTACTISTYPING, cc->parentID, lParam);
- return 1;
- }
-
- return 0;
-}
-
/** Called when user info is about to be shown
*
* Returns 1 to stop event processing and opens page for metacontact default contact (returning 1 to stop it doesn't work!)
@@ -912,7 +892,6 @@ void Meta_InitServices()
// hook other module events we need
HookEvent(ME_PROTO_ACK, Meta_HandleACK);
- HookEvent(ME_PROTO_CONTACTISTYPING, Meta_ContactIsTyping);
HookEvent(ME_DB_CONTACT_DELETED, Meta_ContactDeleted);
HookEvent(ME_DB_CONTACT_SETTINGCHANGED, Meta_SettingChanged);
HookEvent(ME_OPT_INITIALISE, Meta_OptInit);