diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-03-30 20:17:59 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-03-30 20:17:59 +0300 |
| commit | e29628962884ec28d367e0cebffae6c63df30aca (patch) | |
| tree | 462e8c0ff710314a2859fc92ca81e5e026f3b031 | |
| parent | 351a4ae54f9d6e2c1a5b9a6dee08961fbb51e92a (diff) | |
Skype: prevent Miranda from going idle
| -rw-r--r-- | protocols/SkypeWeb/src/skype_polling.cpp | 2 | ||||
| -rw-r--r-- | 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()) { |
