diff options
| author | George Hazan <ghazan@miranda.im> | 2017-12-27 17:19:20 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2017-12-27 17:19:20 +0300 |
| commit | e1a3a426a742028570baaee7430b2b5750734e4c (patch) | |
| tree | ed801bc7954fcd7c860c506d4f451a8bcb82e39b /protocols/Tox/src/tox_utils.cpp | |
| parent | 3ae8bfcab00ae1b497b8c1c61d6dcf4bf7322e06 (diff) | |
obsolete structure ADDCONTACTSTRUCT, service MS_ADDCONTACT_SHOW and whole m_addcontact.h removed and replaced with Contact_Add* functions
Diffstat (limited to 'protocols/Tox/src/tox_utils.cpp')
| -rw-r--r-- | protocols/Tox/src/tox_utils.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/protocols/Tox/src/tox_utils.cpp b/protocols/Tox/src/tox_utils.cpp index 722517c427..130e08eaec 100644 --- a/protocols/Tox/src/tox_utils.cpp +++ b/protocols/Tox/src/tox_utils.cpp @@ -165,11 +165,6 @@ INT_PTR CToxProto::ParseToxUri(WPARAM, LPARAM lParam) PROTOSEARCHRESULT psr = { sizeof(psr) };
psr.flags = PSR_UTF8;
psr.id.a = mir_u2a(&uri[4]);
-
- ADDCONTACTSTRUCT acs = { HANDLE_SEARCHRESULT };
- acs.szProto = proto->m_szModuleName;
- acs.psr = &psr;
-
- CallService(MS_ADDCONTACT_SHOW, 0, (LPARAM)&acs);
+ Contact_AddBySearch(proto->m_szModuleName, &psr);
return 0;
}
|
