diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-29 01:17:12 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-29 01:17:12 +0300 |
commit | 1fc54488ade5a8ba494c50f5a781b191c9b66c15 (patch) | |
tree | b7199b665529203b18aa5724fdbf98574323b770 /messages.cpp | |
parent | 4583a24484a3eee749614b6fe0a3ead2d6be5f72 (diff) |
hz
Diffstat (limited to 'messages.cpp')
-rw-r--r-- | messages.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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;
|