diff options
author | George Hazan <george.hazan@gmail.com> | 2024-06-10 13:44:39 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-06-10 13:44:39 +0300 |
commit | ef9d35a2d9f3c73dfcf8bb5ce7129c26635d9da2 (patch) | |
tree | 85156fdb8cf53ee4f084744d7146ffacbf51d3f8 | |
parent | 4f795835fc380a439649751a6c6710841df135c9 (diff) |
fixes #4464 (SkypeWeb: contacts' search doesn't work)
-rw-r--r-- | protocols/SkypeWeb/src/requests/search.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. 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");
|