summaryrefslogtreecommitdiff
path: root/protocols/Teams/src/teams_trouter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Teams/src/teams_trouter.cpp')
-rw-r--r--protocols/Teams/src/teams_trouter.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Teams/src/teams_trouter.cpp b/protocols/Teams/src/teams_trouter.cpp
index 7e9240dc7f..7b8c93aaec 100644
--- a/protocols/Teams/src/teams_trouter.cpp
+++ b/protocols/Teams/src/teams_trouter.cpp
@@ -48,6 +48,8 @@ void CTeamsProto::OnTrouterInfo(MHttpResponse *response, AsyncHttpRequest *)
CMStringA szUrl = root["socketio"].as_mstring();
szUrl += "socket.io/1/";
+ CreateContactSubscription();
+
auto *pReq = new AsyncHttpRequest(REQUEST_GET, HOST_OTHER, szUrl, &CTeamsProto::OnTrouterSession);
pReq << CHAR_PARAM("v", "v4");