summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_files.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_files.cpp')
-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();
}
}