From 1fc54488ade5a8ba494c50f5a781b191c9b66c15 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 29 Aug 2010 01:17:12 +0300 Subject: hz --- messages.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'messages.cpp') diff --git a/messages.cpp b/messages.cpp index ef4ddea..54c7ca9 100644 --- a/messages.cpp +++ b/messages.cpp @@ -21,7 +21,6 @@ wstring new_key; HANDLE new_key_hcnt = NULL; BOOL isProtoMetaContacts(HANDLE hContact); -HANDLE getMostOnline(HANDLE hContact); int RecvMsgSvc(WPARAM w, LPARAM l) { @@ -37,7 +36,7 @@ int RecvMsgSvc(WPARAM w, LPARAM l) BOOL unicode = (BOOL)(pre->flags&PREF_UNICODE); HANDLE hContact = ccs->hContact; if(isProtoMetaContacts(hContact)) - hContact = getMostOnline(hContact); + hContact = metaGetMostOnline(hContact); { //check for gpg related data @@ -321,7 +320,7 @@ int SendMsgSvc(WPARAM w, LPARAM l) BOOL unicode = (BOOL)(ccs->wParam&PREF_UNICODE); HANDLE hContact = ccs->hContact; if(isProtoMetaContacts(hContact)) - hContact = getMostOnline(hContact); + hContact = metaGetMostOnline(hContact); { //encrypt data here wchar_t *tmp = mir_utf8decodeW(msg); @@ -451,7 +450,7 @@ int HookSendMsg(WPARAM w, LPARAM l) { HANDLE hContact = (HANDLE)w; if(isProtoMetaContacts(hContact)) - hContact = getMostOnline(hContact); + hContact = metaGetMostOnline(hContact); if(!DBGetContactSettingByte(hContact, szGPGModuleName, "GPGEncryption", 0)) return 0; -- cgit v1.2.3