wsd/LOOLWSD.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit b30b6f3b0c46e3d62255a57fe73b5b04090f34e4 Author: Jan Holesovsky <ke...@collabora.com> AuthorDate: Wed Dec 19 14:56:01 2018 +0100 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Thu Dec 20 13:01:25 2018 +0100 capabilities: Encourage use on mobile devices. Change-Id: Ia090503220d659b5a5daf422eaa7580630bde444 Reviewed-on: https://gerrit.libreoffice.org/65485 Reviewed-by: Andras Timar <andras.ti...@collabora.com> Tested-by: Andras Timar <andras.ti...@collabora.com> diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp index 5a5215ec2..8d9b18317 100644 --- a/wsd/LOOLWSD.cpp +++ b/wsd/LOOLWSD.cpp @@ -2767,7 +2767,7 @@ private: return ostrXML.str(); } - /// Process the capabilities.json file and return as string. + /// Create the /hosting/capabilities JSON and return as string. std::string getCapabilitiesJson(const Poco::Net::HTTPRequest& request) { std::shared_ptr<StreamSocket> socket = _socket.lock(); @@ -2783,8 +2783,8 @@ private: // Supports the TemplateSaveAs in CheckFileInfo? capabilities->set("hasTemplateSaveAs", true); - // Version - capabilities->set("version", LOOLWSD_VERSION); + // Hint to encourage use on mobile devices + capabilities->set("hasMobileSupport", true); std::ostringstream ostrJSON; capabilities->stringify(ostrJSON); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits