summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-09-19 19:37:51 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-09-19 19:37:51 +0300
commita2da78df63073c27434bd465bec78e8d51a4935e (patch)
treecd07497778e0212203756c8fd580d89e7932081d
parentc8e41c38dcca6e33fb05ebe2de036b0768c66aa9 (diff)
SkypeWeb: small files are not downloaded automatically
-rw-r--r--protocols/SkypeWeb/src/skype_files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_files.cpp b/protocols/SkypeWeb/src/skype_files.cpp
index e7cb709898..721186434a 100644
--- a/protocols/SkypeWeb/src/skype_files.cpp
+++ b/protocols/SkypeWeb/src/skype_files.cpp
@@ -51,7 +51,7 @@ void CSkypeProto::ReceiveFileThread(void *param)
JsonReply reply(response);
if (!reply.error()) {
auto &root = reply.data();
- if (root["view_state"].as_string() == "ready")
+ if (root["content_state"].as_string() == "ready")
szUrl = root["view_location"].as_string().c_str();
}
}