summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/SkypeWeb/src/skype_polling.cpp2
-rw-r--r--protocols/Teams/src/teams_polling.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/SkypeWeb/src/skype_polling.cpp b/protocols/SkypeWeb/src/skype_polling.cpp
index 9b72c2962a..ed7b50938e 100644
--- a/protocols/SkypeWeb/src/skype_polling.cpp
+++ b/protocols/SkypeWeb/src/skype_polling.cpp
@@ -151,7 +151,7 @@ void CSkypeProto::ProcessUserPresence(const JSONNode &node)
debugLogA(__FUNCTION__);
std::string selfLink = node["selfLink"].as_string();
- std::string status = node["status"].as_string();
+ std::string status = node["availability"].as_string();
CMStringA skypename = UrlToSkypeId(selfLink.c_str());
if (!skypename.IsEmpty()) {
diff --git a/protocols/Teams/src/teams_polling.cpp b/protocols/Teams/src/teams_polling.cpp
index d71d17e2e2..ca59ac8f6a 100644
--- a/protocols/Teams/src/teams_polling.cpp
+++ b/protocols/Teams/src/teams_polling.cpp
@@ -151,7 +151,7 @@ void CTeamsProto::ProcessUserPresence(const JSONNode &node)
debugLogA(__FUNCTION__);
std::string selfLink = node["selfLink"].as_string();
- std::string status = node["status"].as_string();
+ std::string status = node["availability"].as_string();
CMStringA skypename = UrlToSkypeId(selfLink.c_str());
if (!skypename.IsEmpty()) {