diff options
| author | George Hazan <george.hazan@gmail.com> | 2024-08-19 14:58:07 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2024-08-19 14:58:07 +0300 |
| commit | 7b9f4e2adf4fda8d81cc6c92a4299186455967bd (patch) | |
| tree | 269ad05aacfecfcd5f969543e9b91e557fa36396 /protocols/SkypeWeb/src/requests | |
| parent | 70452ae985e7109b1eb9a66e39c039dacf0e2ecd (diff) | |
fixes #4575 (Skypeweb: Для каких-то контактов не отображаются ники)
Diffstat (limited to 'protocols/SkypeWeb/src/requests')
| -rw-r--r-- | protocols/SkypeWeb/src/requests/chatrooms.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/protocols/SkypeWeb/src/requests/chatrooms.h b/protocols/SkypeWeb/src/requests/chatrooms.h index a023a6bbe5..4e12b0c331 100644 --- a/protocols/SkypeWeb/src/requests/chatrooms.h +++ b/protocols/SkypeWeb/src/requests/chatrooms.h @@ -75,6 +75,21 @@ struct DestroyChatroomRequest : public AsyncHttpRequest }
};
+struct GetChatMembersRequest : public AsyncHttpRequest
+{
+ GetChatMembersRequest(const LIST<char> &ids, SESSION_INFO *si) :
+ AsyncHttpRequest(REQUEST_POST, HOST_PEOPLE, "/profiles", &CSkypeProto::OnGetChatMembers)
+ {
+ JSONNode node, mris(JSON_ARRAY); mris.set_name("mris");
+ for (auto &it : ids)
+ mris.push_back(JSONNode("", it));
+ node << mris << CHAR_PARAM("locale", "en-US");
+ m_szParam = node.write().c_str();
+
+ pUserInfo = si;
+ }
+};
+
struct GetChatInfoRequest : public AsyncHttpRequest
{
GetChatInfoRequest(const wchar_t *chatId) :
|
