summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2025-06-14 15:04:54 +0300
committerGeorge Hazan <george.hazan@gmail.com>2025-06-14 15:04:54 +0300
commit62686fa957f952f0125c168b23e98c9e2d70c5c0 (patch)
tree6750da7594f7d7dfa194472ed7fdc2602df2e0c3
parent19ee1a06d37f7583184034d8f08282bc86e729a4 (diff)
unused host removed
-rw-r--r--protocols/Teams/src/stdafx.h1
-rw-r--r--protocols/Teams/src/teams_http.cpp6
2 files changed, 0 insertions, 7 deletions
diff --git a/protocols/Teams/src/stdafx.h b/protocols/Teams/src/stdafx.h
index 656e4d15ea..ef50cefd9c 100644
--- a/protocols/Teams/src/stdafx.h
+++ b/protocols/Teams/src/stdafx.h
@@ -68,7 +68,6 @@ enum SkypeHost
HOST_API,
HOST_CONTACTS,
HOST_DEFAULT,
- HOST_DEFAULT_V2,
HOST_LOGIN,
HOST_TEAMS,
HOST_TEAMS_API,
diff --git a/protocols/Teams/src/teams_http.cpp b/protocols/Teams/src/teams_http.cpp
index 422087d15a..7e3e050b8d 100644
--- a/protocols/Teams/src/teams_http.cpp
+++ b/protocols/Teams/src/teams_http.cpp
@@ -29,12 +29,6 @@ AsyncHttpRequest::AsyncHttpRequest(int type, SkypeHost host, LPCSTR url, MTHttpR
case HOST_CHATS: m_szUrl = TEAMS_BASE_HOST "/api/chatsvc/consumer/v1"; break;
case HOST_PRESENCE: m_szUrl = "presence." TEAMS_BASE_HOST "/v1"; break;
- case HOST_DEFAULT_V2:
- AddHeader("MS-IC3-Product", "Sfl");
- m_szUrl = "msgapi." TEAMS_BASE_HOST "/v2";
- m_host = HOST_DEFAULT;
- break;
-
case HOST_DEFAULT:
AddHeader("MS-IC3-Product", "Sfl");
m_szUrl = "msgapi." TEAMS_BASE_HOST "/v1";