loolwsd/MasterProcessSession.cpp | 7 +++++++ 1 file changed, 7 insertions(+)
New commits: commit c1849e25bbae48e204e5bdcebae364b530706771 Author: Henry Castro <hcas...@collabora.com> Date: Wed May 11 00:36:36 2016 -0400 loolwsd: send "editlock" when "status" was cached diff --git a/loolwsd/MasterProcessSession.cpp b/loolwsd/MasterProcessSession.cpp index 4b6a045..9cd67ff 100644 --- a/loolwsd/MasterProcessSession.cpp +++ b/loolwsd/MasterProcessSession.cpp @@ -401,6 +401,13 @@ bool MasterProcessSession::getStatus(const char *buffer, int length) if (!status.empty()) { sendTextFrame(status); + + // And let clients know if they hold the edit lock. + std::string message = "editlock: "; + message += std::to_string(isEditLocked()); + Log::debug("Forwarding [" + message + "] in response to status."); + sendTextFrame(message); + return true; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits