summaryrefslogtreecommitdiff
path: root/protocols/Teams/src/teams_endpoint.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-23 18:22:18 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-23 18:22:18 +0300
commit88cfacea1f8879555e8d5266678b16dd49590581 (patch)
tree4adccf0ba36562b3fa5c944c20deebec87751ff4 /protocols/Teams/src/teams_endpoint.cpp
parentf61316939331108159cb472090c0443af5198fb5 (diff)
Teams: new site for chats
Diffstat (limited to 'protocols/Teams/src/teams_endpoint.cpp')
-rw-r--r--protocols/Teams/src/teams_endpoint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Teams/src/teams_endpoint.cpp b/protocols/Teams/src/teams_endpoint.cpp
index 5687c81e5f..18ae90d816 100644
--- a/protocols/Teams/src/teams_endpoint.cpp
+++ b/protocols/Teams/src/teams_endpoint.cpp
@@ -68,7 +68,7 @@ void CTeamsProto::OnEndpointCreated(MHttpResponse *response, AsyncHttpRequest*)
CMStringA val = szToken.Mid(iStart2);
if (name == "registrationToken")
- m_szToken = val.Detach();
+ m_szRegToken = val;
else if (name == "endpointId") {
val.Replace("{", "");
val.Replace("}", "");
@@ -83,5 +83,5 @@ void CTeamsProto::OnEndpointCreated(MHttpResponse *response, AsyncHttpRequest*)
void CTeamsProto::OnEndpointDeleted(MHttpResponse *, AsyncHttpRequest *)
{
m_szEndpoint.Empty();
- m_szToken = nullptr;
+ m_szRegToken.Empty();
}