summaryrefslogtreecommitdiff
path: root/messages.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'messages.cpp')
-rw-r--r--messages.cpp7
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;