summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ICQ-WIM/src/http.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/ICQ-WIM/src/http.cpp b/protocols/ICQ-WIM/src/http.cpp
index 1bb6c21ffc..f6035bbc97 100644
--- a/protocols/ICQ-WIM/src/http.cpp
+++ b/protocols/ICQ-WIM/src/http.cpp
@@ -201,9 +201,9 @@ bool CIcqProto::ExecuteRequest(AsyncHttpRequest *pReq)
}
}
- if (pReq->m_conn == CONN_RAPI && reply->body.Find("\"code\": 40201") != -1) {
+ if (pReq->m_conn == CONN_RAPI && reply->body.Find("\"code\":") != -1) {
RobustReply r(reply);
- if (r.error() == 40201) { // robust token expired
+ if (r.error() == 40201 || r.error() == 40200) { // robust token expired
m_szRToken.Empty();
// if token refresh succeeded, replace it in the query and push request back