From ef9d35a2d9f3c73dfcf8bb5ce7129c26635d9da2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Jun 2024 13:44:39 +0300 Subject: fixes #4464 (SkypeWeb: contacts' search doesn't work) --- protocols/SkypeWeb/src/requests/search.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src') diff --git a/protocols/SkypeWeb/src/requests/search.h b/protocols/SkypeWeb/src/requests/search.h index ba01079f5c..7abbf276de 100644 --- a/protocols/SkypeWeb/src/requests/search.h +++ b/protocols/SkypeWeb/src/requests/search.h @@ -21,9 +21,9 @@ along with this program. If not, see . struct GetSearchRequest : public AsyncHttpRequest { GetSearchRequest(const char *string) : - AsyncHttpRequest(REQUEST_GET, HOST_GRAPH, "/search/v1.1/namesearch/swx/", &CSkypeProto::OnSearch) + AsyncHttpRequest(REQUEST_GET, HOST_GRAPH, "/v2.0/search/", &CSkypeProto::OnSearch) { - this << CHAR_PARAM("requestid", "skype.com-1.48.78-00000000-0000-0000-0000-000000000000") + this << CHAR_PARAM("requestid", Utils_GenerateUUID()) << CHAR_PARAM("locale", "en-US") << CHAR_PARAM("searchstring", string); AddHeader("Accept", "application/json"); -- cgit v1.2.3