summaryrefslogtreecommitdiff
path: root/protocols/Teams/src/teams_trouter.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-04-24 19:30:41 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-04-24 19:30:41 +0300
commit49cf77b20cfcda29657ac2417b937fd9d55fa1e9 (patch)
treecab6f1f5e513933681d184a4d41dff06281b9a8d /protocols/Teams/src/teams_trouter.cpp
parentd8ef7ec807a4a517896ead1e98f366f06b29c76a (diff)
minor code reordering
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");