From 9f32f113a011e34338b76eef83da6f006d528e61 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 31 May 2015 17:34:45 +0000 Subject: fixes for the file sending git-svn-id: http://svn.miranda-ng.org/main/trunk@13940 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/protocols/protoint.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/modules/protocols/protoint.cpp') diff --git a/src/modules/protocols/protoint.cpp b/src/modules/protocols/protoint.cpp index 809d78b0cc..3ad3337ce3 100644 --- a/src/modules/protocols/protoint.cpp +++ b/src/modules/protocols/protoint.cpp @@ -208,6 +208,9 @@ struct DEFAULT_PROTO_INTERFACE : public PROTO_INTERFACE { CCSDATA ccs = { hContact, PSS_FILE, (WPARAM)szDescription, (LPARAM)ppszFiles }; + if (m_iVersion > 1) + return (HANDLE)ProtoCallService(m_szModuleName, PSS_FILE, 0, (LPARAM)&ccs); + ccs.wParam = (WPARAM)mir_t2a(szDescription); ccs.lParam = (LPARAM)Proto_FilesMatrixA(ppszFiles); HANDLE res = (HANDLE)ProtoCallService(m_szModuleName, PSS_FILE, 0, (LPARAM)&ccs); -- cgit v1.2.3