From e29628962884ec28d367e0cebffae6c63df30aca Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 30 Mar 2025 20:17:59 +0300 Subject: Skype: prevent Miranda from going idle --- protocols/SkypeWeb/src/skype_polling.cpp | 2 +- protocols/Teams/src/teams_polling.cpp | 2 +- 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()) { -- cgit v1.2.3