summaryrefslogtreecommitdiff
path: root/plugins/MetaContacts
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-01 21:47:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-01 21:47:30 +0000
commit9c8077b6560bdd919aa6e8f1cfb122088f4f037b (patch)
tree78c9124f8fb80b3468e7ce4da94d846df31295f6 /plugins/MetaContacts
parent7eeaf21b12126d38b92c2320314ac6407e15df5a (diff)
fix for the horror with metacontacts & secure im
git-svn-id: http://svn.miranda-ng.org/main/trunk@4282 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MetaContacts')
-rwxr-xr-xplugins/MetaContacts/src/meta_services.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/MetaContacts/src/meta_services.cpp b/plugins/MetaContacts/src/meta_services.cpp
index 20b76c484d..610a08af73 100755
--- a/plugins/MetaContacts/src/meta_services.cpp
+++ b/plugins/MetaContacts/src/meta_services.cpp
@@ -419,13 +419,11 @@ INT_PTR MetaFilter_RecvMessage(WPARAM wParam,LPARAM lParam)
// use the subcontact's protocol 'recv' service to add the meta's history (AIMOSCAR removes HTML here!) if possible
char *proto = GetContactProto(ccs->hContact);
if (proto) {
- char service[256];
HANDLE hSub = ccs->hContact;
DWORD flags = pre->flags;
- mir_snprintf(service, 256, "%s%s", proto, PSR_MESSAGE);
ccs->hContact = hMeta;
pre->flags |= (db_get_b(hMeta, META_PROTO, "WindowOpen", 0) ? 0 : PREF_CREATEREAD);
- if (ServiceExists(service) && !CallService(service, 0, (LPARAM)ccs))
+ if (!CallService(MS_PROTO_CHAINRECV, 0, (LPARAM)ccs))
added = TRUE;
ccs->hContact = hSub;
pre->flags = flags;