summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src/connection.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-08-01 17:00:31 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-08-01 17:00:36 +0300
commitf3350f5b892a4809faf0703e81cc865190572648 (patch)
tree2c66a540befa58e1496c178b1338a5c20f18cd65 /protocols/Twitter/src/connection.cpp
parentfe58b618297fcd01fdfcd42fa93ba10ead8c336c (diff)
NewStory: translateable default value
Diffstat (limited to 'protocols/Twitter/src/connection.cpp')
-rw-r--r--protocols/Twitter/src/connection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Twitter/src/connection.cpp b/protocols/Twitter/src/connection.cpp
index 50d9fd6ad0..bb3d36c620 100644
--- a/protocols/Twitter/src/connection.cpp
+++ b/protocols/Twitter/src/connection.cpp
@@ -348,7 +348,7 @@ void CTwitterProto::UpdateAvatar(MCONTACT hContact, const CMStringA &url, bool f
void CTwitterProto::UpdateFriends()
{
- auto *req = new AsyncHttpRequest(REQUEST_GET, "/friends/list.json");
+ auto *req = new AsyncHttpRequest(REQUEST_GET, CMStringA(FORMAT, "/2/users/%s/followers", m_szMyId.c_str()));
http::response resp = Execute(req);
if (resp.code != 200) {
debugLogA("Friend list reading failed");