From a7a363192b99ef073bcae7dbcba5e6771dd21d09 Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sat, 18 Apr 2015 09:20:41 +0000 Subject: SkypeWebSkypeWeb: Chats support part 2.5. git-svn-id: http://svn.miranda-ng.org/main/trunk@12905 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/SkypeWeb/src/requests/history.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/SkypeWeb/src/requests/history.h') diff --git a/protocols/SkypeWeb/src/requests/history.h b/protocols/SkypeWeb/src/requests/history.h index 36b97509c9..3f2d3bdf04 100644 --- a/protocols/SkypeWeb/src/requests/history.h +++ b/protocols/SkypeWeb/src/requests/history.h @@ -39,8 +39,8 @@ public: class GetHistoryRequest : public HttpRequest { public: - GetHistoryRequest(const char *regToken, const char *username, LONGLONG timestamp = 0, const char *server = SKYPE_ENDPOINTS_HOST) : - HttpRequest(REQUEST_GET, FORMAT, "%s/v1/users/ME/conversations/8:%s/messages", server, ptrA(mir_urlEncode(username))) + GetHistoryRequest(const char *regToken, const char *username, LONGLONG timestamp = 0, const char *server = SKYPE_ENDPOINTS_HOST, bool isChat = false) : + HttpRequest(REQUEST_GET, FORMAT, "%s/v1/users/ME/conversations/%s:%s/messages", server, isChat ? "19" : "8", ptrA(mir_urlEncode(username))) { Url << INT_VALUE("startTime", timestamp) -- cgit v1.2.3